Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: strange responses, size = -1 ?
Glenn Carr

From: Tulsa, OK USA
Posts: 42
Member Since: 08/21/02
posted March 9, 2004 3:14 PM

The following is a log from one of our customers[1]. Can anyone explain what's going on with the -1 transfer sizes toward the bottom?

Thanks,
Glenn

[1]
9 Mar 2004 16:55:59 _IFtpEvents->State: State = tcpConnecting
9 Mar 2004 16:55:59 _IFtpEvents->State: State = tcpConnected
Recd: 220-Use of the Network is restricted to authorized users. User activity is
monitored and recorded by system personnel. Anyone using the Network
expressly consents to such monitoring and recording. BE ADVISED, if
possible criminal activity is detected, system records, along with
certain personal information, may be provided to law enforcement officials.
Recd: All users are subject to Xerox policies on Network Usage.
220
9 Mar 2004 16:55:59 _IFtpEvents->Progress( FtpCmd = 8, Status = 0, Reply = "220-Use of the Network is restricted to authorized users. User activity is
monitored and recorded by system personnel. Anyone using the Network
expressly consents to such monitoring and recording. BE ADVISED, if
possible criminal activity is detected, system records, along with
certain personal information, may be provided to law enforcement officials.
All users are subject to Xerox policies on Network Usage.
220 ", Count = 0, Size = 0 )
Sent: USER XEROXRCS@ecportal.airborne.com
Recd: 331-(----GATEWAY CONNECTED TO ecportal.airborne.com----)
331-(220 <<<CONNECT:Enterprise for UNIX 1.3.01 Secure FTP>>> at goahp85 FTP server ready. Time = 08:54:21)
331 Password required for XEROXRCS.
9 Mar 2004 16:56:01 _IFtpEvents->Progress( FtpCmd = 1, Status = 0, Reply = "331-(----GATEWAY CONNECTED TO ecportal.airborne.com----)
331-(220 <<<CONNECT:Enterprise for UNIX 1.3.01 Secure FTP>>> at goahp85 FTP server ready. Time = 08:54:21)
331 Password required for XEROXRCS.", Count = 0, Size = 0 )
Sent: PASS *************
Recd: 230 CONNECT:Enterprise for UNIX login ok, access restrictions apply.
9 Mar 2004 16:56:01 _IFtpEvents->Progress( FtpCmd = 2, Status = 0, Reply = "230 CONNECT:Enterprise for UNIX login ok, access restrictions apply.", Count = 0, Size = 0 )
Sent: SIZE /XEROXRCS/SRICANSATWHT
Recd: 550 Operation is not supported under CONNECT:Mailbox FTP server.
9 Mar 2004 16:56:01 _IFtpEvents->Progress( FtpCmd = 34, Status = 2, Reply = "550 Operation is not supported under CONNECT:Mailbox FTP server.", Count = 0, Size = 0 )
Sent: PASV
Recd: 227 Entering Passive Mode (13,142,120,5,178,191)
9 Mar 2004 16:56:01 _IFtpEvents->Progress( FtpCmd = 10, Status = 1, Reply = "227 Entering Passive Mode (13,142,120,5,178,191)", Count = 0, Size = 0 )
Sent: RETR /XEROXRCS/SRICANSATWHT
Recd: 150 Opening ASCII mode data connection for /XEROXRCS/SRICANSATWHT.
9 Mar 2004 16:56:01 _IFtpEvents->Progress( FtpCmd = 14, Status = 1, Reply = "150 Opening ASCII mode data connection for /XEROXRCS/SRICANSATWHT.", Count = 0, Size = 0 )
9 Mar 2004 16:56:01 _IFtpEvents->Progress( FtpCmd = 14, Status = 1, Reply = "null", Count = 2176, Size = -1 )
9 Mar 2004 16:56:02 _IFtpEvents->Progress( FtpCmd = 14, Status = 1, Reply = "null", Count = 2652, Size = -1 )
9 Mar 2004 16:56:03 _IFtpEvents->Progress( FtpCmd = 14, Status = 1, Reply = "null", Count = 4032, Size = -1 )
9 Mar 2004 16:56:03 _IFtpEvents->Progress( FtpCmd = 14, Status = 1, Reply = "null", Count = 4828, Size = -1 )
9 Mar 2004 16:56:04 _IFtpEvents->Progress( FtpCmd = 14, Status = 1, Reply = "null", Count = 5304, Size = -1 )
9 Mar 2004 16:56:05 _IFtpEvents->Progress( FtpCmd = 14, Status = 1, Reply = "null", Count = 7480, Size = -1 )
9 Mar 2004 16:56:06 _IFtpEvents->Progress( FtpCmd = 14, Status = 1, Reply = "null", Count = 7956, Size = -1 )
Recd: 226 Transfer complete.
9 Mar 2004 16:56:07 _IFtpEvents->Progress( FtpCmd = 14, Status = 0, Reply = "226 Transfer complete.", Count = 0, Size = 0 )
Recd: 421 Timeout (900 seconds): closing control connection.
530 Peer has closed connection
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted March 9, 2004 3:22 PM

The server does not support the SIZE command. You will have to calculate the size yourself based on the Listing.
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX