CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:
Net FTP in non interactive mode. Possible?



Mar 7, 2013, 10:49 AM

Post #1 of 2 (943 views)
Net FTP in non interactive mode. Possible? Can't Post

Does anyone know of anyway to pass "prompt off" or the equivalent to the ftp server when using Net::FTP?
I dont want to use the system command as I using hashes to detemine what to download and then lists to actually download them. (There is another thread all about this).

If I use this script against a linux FTP server, I can grab any number of files, big or small. If I run it against a VMS FTP server, it stops after 2. I have increased timeout and changed BlockSize to no avail.
I can grab any number of files using a shell script against the same server but only if I shut interactive mode off.

Is this possible in NetFTP?


Mar 8, 2013, 2:55 PM

Post #2 of 2 (937 views)
Re: [StarkRavingCalm] Net FTP in non interactive mode. Possible? [In reply to] Can't Post


For an example of the use of Net::FTP see
autoftp is a program that can retrieve, send, or list files via the FTP protocol in a non-interactive manner

I didn't look at any of the examples at the address provided, but they might give you a good starting point.


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives