|
No, an FTP client cannot GET or PUT with no server involved. However, the server that's involved is the one that you're connecting to when you do the GET. In other words, the FTP server is running at "www.somewhere.com", that you don't have control over. In your scenario, you're using your AS/400's FTP _client_ with a script to get a file from somewhere.com's FTP _server_. Then, that same client is PUTing the file to a PC (or using the AS/400's SMB client if you go through the QNTC filesystem, etc) The side that does the PUT or GET is the client. The server is the machine that sits around waiting for these requests to be made. On Tue, 12 Feb 2002, Booth Martin wrote: > > I agree. I, at least, am confused. > > Can an FTP client GET and PUT with no server involved? The AS/400's FTP > server is running, and I am planning that a CL program will run an FTP > command with an FTP script and an FTP log. > > Booth: > > > Scott, my plan is to use the AS/400 FTP server to do all of it. > > It looks to me as if there's confusion about "FTP server". From the way I've > read this thread, what you'll actually be doing is using your AS/400's FTP > _client_ rather than server. > > It seems you'll have someone at a PC who will run an AS/400 CLP that > contains a STRTCPFTP or FTP command. The FTP command will be scripted to GET > a file from the remote system and put it into the IFS. The CLP will then > append the file onto a file stored back on the PC that ran the CLP in the > first place. > > You don't say how the CLP will be run; possibly through an emulation session > possibly through a remote command or remote program call. > > Is any of this correct? >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.