|
Hello all,
I've been using a bat file to execute FTP to download a flat physical file
- it worked just fine for weeks but suddenly it locks up and disconnects
after timing out.
here is the bat file:
ftp -s:acaboth.txt myftp.url.com >>acalog.txt
here is acaboth.txt
userid
password
quote site trim 0
recv P020715P/acarept01.acarept01 c:\ME\acarept.txt (replace
recv P020715P/acamanf01.acamanf01 c:\ME\Manifest_.txt (replace
quit
the log file shows it failing to open data connection.
ftp> Connected to ip.address.
220-QTCP at ip.address.
220 Connection will close if idle more than 5 minutes.
---> OPTS UTF8 ON
501 OPTS unsuccessful; specified subcommand not recognized.
User (ip.address:(none)):
---> USER userid
331 Enter password.
---> PASS password
230 userid logged on.
ftp> quote site trim 0
---> site trim 0
250 TRIM trailing blanks when sending database files option set to 0.
ftp> recv P020715P/acarept01.acarept01 c:\ME\acarept.txt (replace
---> PORT 10,60,254,110,194,85
200 PORT subcommand request successful.
---> RETR P020715P/acarept01.acarept01
425 Not able to open data connection.
ftp> recv P020715P/acamanf01.acamanf01 c:\ME\Manifest_.txt (replace
---> PORT 10,60,254,110,194,166
200 PORT subcommand request successful.
---> RETR P020715P/acamanf01.acamanf01
425 Not able to open data connection.
ftp> quit
---> QUIT
221 QUIT subcommand received.
Why would this work just fine 2 weeks ago, but now won't?
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.