FTP Datastream, not a file ???

B

bmcdougald

Sorry if this question has been asked before.

I have downloaded and implemented a Java FTP Client and FTP Client
Implementation classes and that seems to be working ok.
From looking at the FTP client class I have, when I call the send
method, it tries to initiate an ftp RETR command on the host, which
then "pulls" the file from the client.

However, the server where I would like to use this code does not allow
me (or rather my users) to write files to the file system that are in
turn FTP'd to our mainframe. What I would like to do is write my data
output to be ftp'd into a string and then stream that to the FTP Client
class and place the string contents in a file on our mainframe.

Can someone tell me if this type of implementation possible, and if so,
how?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top