↧
From: | Rick Strahl |
To: | Phil Sherwood |
loFtp.lPassiveFtp = .T.
FWIW in recent versions of wwFTP this is the default.
+++ Rick ---
Here's an example of the code I'm using:
loIP.FTPConnect('my.server.com')
loIP.FTPSendFileEx(lcSourceFile,lcTargetFile)
loIP.FTPSendFileEx(lcNewSourceFile,lcNewTargetFile)
loIP.FTPClose()
It gets the error in between the two FTPSendFileEx calls. I've tried putting an INKEY(5) in between them and I've also tried putting an FTPClose and FTP Connect between them to close the connection and reopen it. Still get the error. What else can I check?
On the FTP server it receives the first file and then says the transfer was OK and then it opens the connection to the 2nd file and just hangs because the client threw the error.
-Phil