Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Getting at FTP Server Log
December 16, 2004, 5:03 pm
rate this thread
Re: Getting at FTP Server Log
Well I supposed your script could download the files to the server and
they could then download them from the server to local computer using
an http request but then why not just get them to use an ftp client on
the local machine?
Also, each page load has to be a completely separate FTP transaction ie
log in then change working directory / list working directory / get
file then logout. There's no way to keep that FTP session running
inbetween page requests.
To answer the OP's question, I don't think there's any way to get the
output from the FTP server using the built in FTP functions so you'd
need to connect using sockets and pass commands yourself and then read
Chris Hope - The Electric Toolbox - http://www.electrictoolbox.com /