Page 1 of 1

225 ABOR command successful

Posted: Tue Mar 17, 2015 7:36 pm
by 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?
 

Re: 225 ABOR command successful

Posted: Tue Mar 17, 2015 8:07 pm
by mb
Please install the latest version from here:
https://www.smartftp.com/ftplib/download
 
and then try again.

Re: 225 ABOR command successful

Posted: Tue Mar 17, 2015 8:50 pm
by donj91711
OK, I installed SmartFTP client and pulled down the same file. Here is the log:
 
[2015-03-17T13:41:30] Log opened
[2015-03-17T13:41:30] Initializing. Transfer Queue v6.0.2136.0.
[2015-03-17T13:41:30] Operation begin
[2015-03-17T13:41:30] Copying file. Source="::{82AA9188-44E0-40B9-B956-43A10C315B4F}\::{C6127CDB-7BD6-4C71-B183-0D759A007186}/MEDIA_L24_RequestedPDF_20150313.zip", Destination="C:\Don\MEDIA_L24_RequestedPDF_20150313.zip"
[2015-03-17T13:41:30] Getting properties (Size, Date modified) of "::{82AA9188-44E0-40B9-B956-43A10C315B4F}\::{C6127CDB-7BD6-4C71-B183-0D759A007186}/MEDIA_L24_RequestedPDF_20150313.zip"
[2015-03-17T13:41:30] Item: Size=29882588, Date modified=2015-03-13T05:38:00
[2015-03-17T13:41:30] Transfer restarting at position 0.
[2015-03-17T13:47:09] Getting properties (Date modified) of "::{82AA9188-44E0-40B9-B956-43A10C315B4F}\::{C6127CDB-7BD6-4C71-B183-0D759A007186}/MEDIA_L24_RequestedPDF_20150313.zip"
[2015-03-17T13:47:09] Item: Date modified=2015-03-13T05:38:00
[2015-03-17T13:47:09] Setting properties (Date modified) of "C:\Don\MEDIA_L24_RequestedPDF_20150313.zip"
[2015-03-17T13:47:09] Getting properties (Size) of "::{82AA9188-44E0-40B9-B956-43A10C315B4F}\::{C6127CDB-7BD6-4C71-B183-0D759A007186}/MEDIA_L24_RequestedPDF_20150313.zip"
[2015-03-17T13:47:09] Item: Size=29882588
[2015-03-17T13:47:09] Using cached properties
[2015-03-17T13:47:09] Getting properties (Size) of "C:\Don\MEDIA_L24_RequestedPDF_20150313.zip"
[2015-03-17T13:47:09] Item: Size=29882588
[2015-03-17T13:47:09] Source File Size=29882588, Destination file size=29882588
[2015-03-17T13:47:09] Operation end
[2015-03-17T13:47:09] Log closed
 
Does that shed any light as to why the SmartFTP library ABORts after transfering only a few bytes?

Re: 225 ABOR command successful

Posted: Tue Mar 17, 2015 9:34 pm
by mb
Did you already try it with the latest version of the FTP Library?
https://www.smartftp.com/ftplib/download

Re: 225 ABOR command successful

Posted: Tue Mar 17, 2015 9:47 pm
by donj91711
The the latest version of the FTP Library worked - thanks.