donj91711
I am connecting to a server to download a file daily. The plan is to move that service over to a new PC running Windows 7 so I purchased the newset version of SmartFTP library to support it.
Using VB6:
Public objFTP As sfFTPLib.FTPConnectionSTA
...connection code...
Call objFTP.Download(FileName, LocalPullPath & FileName, nRestartLo, nRestartHi)
It disconnects after downloading only a few bytes of data. Here is the log entry:
2015-03-17T12:16:46 PASV
2015-03-17T12:16:46 227 Entering Passive Mode (n,n,n,n,81,226)
2015-03-17T12:16:46 Opening data connection to n.n.n.n Port: 20962
2015-03-17T12:16:46 RETR filename.zip
2015-03-17T12:16:46 150 Opening BINARY mode SSL data connection for filename.zip.
2015-03-17T12:16:47 16384 bytes transferred. (48.4 KB/s) (330 ms)
2015-03-17T12:16:47 ABOR
2015-03-17T12:16:47 426 Data connection: Success.
2015-03-17T12:16:47 225 ABOR command successful.
I know the FTP server is working fine because my old PC downloads a file every day with no problem.
Any ideas on what I'm doing wrong?
Using VB6:
Public objFTP As sfFTPLib.FTPConnectionSTA
...connection code...
Call objFTP.Download(FileName, LocalPullPath & FileName, nRestartLo, nRestartHi)
It disconnects after downloading only a few bytes of data. Here is the log entry:
2015-03-17T12:16:46 PASV
2015-03-17T12:16:46 227 Entering Passive Mode (n,n,n,n,81,226)
2015-03-17T12:16:46 Opening data connection to n.n.n.n Port: 20962
2015-03-17T12:16:46 RETR filename.zip
2015-03-17T12:16:46 150 Opening BINARY mode SSL data connection for filename.zip.
2015-03-17T12:16:47 16384 bytes transferred. (48.4 KB/s) (330 ms)
2015-03-17T12:16:47 ABOR
2015-03-17T12:16:47 426 Data connection: Success.
2015-03-17T12:16:47 225 ABOR command successful.
I know the FTP server is working fine because my old PC downloads a file every day with no problem.
Any ideas on what I'm doing wrong?