[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FTP Try again later messge
This is not an error message that FTPAPI returns?!
This is a pretty weird message. "Host X at address."? What kind of
grammar is that? And 000.000.000.000 is not a valid IP address.. in
fact, it's not even formatted correctly, you can't have leading zeros on
an IP address...
If you just want to know if a connection has failed, just do this:
ftp = FTP_Conn( 'thehost': userId: password: FTP_PORT: 30 );
if ftp = -1;
// connection failed.
endif;
That's a 30 second timeout.. change the 30 to another number if you
want a different timeout.
On 9/10/2014 3:02 PM, Gary Thompson wrote:
Just installed FTPAPI with hopes to catch msg from FTP host:
`Cannot connect to host 000.000.000.000 at address . Try again later.'
Goal is to re-schedule the transfer for a later time.
All comments welcome by this FTP novice
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------