Thank you.  Thank you. Thank you.

-----Original Message-----
From: TWSocket [mailto:twsocket-boun...@lists.elists.org] On Behalf Of
twsoc...@kglt.net
Sent: Monday, May 05, 2014 10:54 PM
To: ICS support mailing
Subject: Re: [twsocket] TFtipClient and TFtpServer and 10053 error after
Transmit successful...



James,

Try updating your version of ICS to the current nightly build.  You are
having the same problem I was having.  The 221 response is sent and the
sever closes the socket.  The client processes the 221 but returns the 500
error because the socket was closed.  This got patched in the current
version.

JohnC

> Hello,
> 
> 
> 
> We have a
small FTP server program using the TFTPServer component that we
>
connect to upload a file every day using the TFtpClient program.
>

> 
> 
> We upload a file from each site every day
but I noticed one site has a
> peculiar problem .
> 
> 
> 
> The Transmit method returns failure even
though the file is successfully
> uploaded. Notice how the request
is 18, the StatusCode is 226 but an Error
> 500 is returned with a
winsock error of #10053).
> 
> 
> 
> The
server side log is listed below and reports file received ok.
>

> 
> 
> Any suggestions  on what may be going
on?
> 
> 
> 
> Thanks in advance,
> 
> 
> 
> James
> 
> 
> 
> "4/14/2014 03:17:01", "  1",
"01 Focus", "   50", "Katrina", " 
626",
> "Start
> internet FTP transfer of file
CHECK0214201400018999A.FTP size 18999."
> 
>
"4/14/2014 03:17:01", "  1", "01 Focus",
"   50", "Katrina", "  628", "FTP
> Session Connected, error = 0."
> 
>
"4/14/2014 03:17:03", "  1", "01 Focus",
"   50", "Katrina", "  629", "FTP
> Request Done : Request 18 Done. StatusCode = 226 LastResponse was :
'226
> File received ok Error = 500 (500 Control connection
closed. Connection
> aborted (Winsock error #10053))."
> 
> "4/14/2014 03:17:03", "  1",
"01 Focus", "   50", "Katrina", " 
884", "FTP
> transmit of file CHECK0214201400018999A.FTP
failed."
> 
> 
> 
> 
> 
> "4/13/2014 00:02:59", "  0",
"FTPSERV", "    0", "FTPSERV", " 
633",
> "FTPSERV message: < 50.10.41.178 USER
NrG-2526.",0,0,0
> 
> "4/13/2014 00:02:59",
"  0", "FTPSERV", "    0",
"FTPSERV", "  633",
> "FTPSERV message:
> 50.10.41.178 331 Password required for
>
NrG-2526..",0,0,0
> 
> "4/13/2014
00:02:59", "  0", "FTPSERV", "    0",
"FTPSERV", "  633",
> "FTPSERV message:
< 50.10.41.178 PASS XXXXXX.",0,0,0
> 
>
"4/13/2014 00:02:59", "  0", "FTPSERV",
"    0", "FTPSERV", "  633",
>
"FTPSERV message: ! 50.10.41.178 User 'NrG-2526' is authenticated
> Restaurant:*NC - NrG 2526 *.",0,0,0
> 
>
"4/13/2014 00:02:59", "  0", "FTPSERV",
"    0", "FTPSERV", "  633",
>
"FTPSERV message: > 50.10.41.178 230 User NrG-2526 logged
in..",0,0,0
> 
> "4/13/2014 00:02:59",
"  0", "FTPSERV", "    0",
"FTPSERV", "  633",
> "FTPSERV message:
< 50.10.41.178 CWD c:\focus\.",0,0,0
> 
>
"4/13/2014 00:02:59", "  0", "FTPSERV",
"    0", "FTPSERV", "  633",
>
"FTPSERV message: > 50.10.41.178 250 CWD command successful.
> "c:/pollingdata/upload/" is current
directory..",0,0,0
> 
> "4/13/2014
00:02:59", "  0", "FTPSERV", "    0",
"FTPSERV", "  633",
> "FTPSERV message:
< 50.10.41.178 TYPE A.",0,0,0
> 
> "4/13/2014
00:02:59", "  0", "FTPSERV", "    0",
"FTPSERV", "  633",
> "FTPSERV message:
> 50.10.41.178 200 Type set to A..",0,0,0
> 
>
"4/13/2014 00:02:59", "  0", "FTPSERV",
"    0", "FTPSERV", "  633",
>
"FTPSERV message: < 50.10.41.178 PASV .",0,0,0
> 
> "4/13/2014 00:02:59", "  0",
"FTPSERV", "    0", "FTPSERV", " 
633",
> "FTPSERV message: > 50.10.41.178 227 Entering
Passive Mode
> (172,16,200,45,197,238)..",0,0,0
> 
> "4/13/2014 00:02:59", "  0",
"FTPSERV", "    0", "FTPSERV", " 
633",
> "FTPSERV message: < 50.10.41.178 STOR
CHECK0214201400018999A.FTP.",0,0,0
> 
>
"4/13/2014 00:02:59", "  0", "FTPSERV",
"    0", "FTPSERV", "  633",
>
"FTPSERV message: > 50.10.41.178 150 Opening data connection for
> CHECK0214201400018999A.FTP.0045.TMP..",0,0,0
>

> "4/13/2014 00:03:00", "  0",
"FTPSERV", "    0", "FTPSERV", " 
633",
> "FTPSERV message: > 50.10.41.178 226 File
received ok.",0,0,0
> 
> "4/13/2014
00:03:00", "  0", "FTPSERV", "    0",
"FTPSERV", "  633",
> "FTPSERV message:
< 50.10.41.178 QUIT .",0,0,0
> 
> "4/13/2014
00:03:00", "  0", "FTPSERV", "    0",
"FTPSERV", "  633",
> "FTPSERV message:
> 50.10.41.178 221 Goodbye..",0,0,0
> 
>
"4/13/2014 00:03:00", "  0", "FTPSERV",
"    0", "FTPSERV", "  633",
>
"FTPSERV message: ! 50.10.41.178 disconnected.",0,0,0
>

> --
> To unsubscribe or change your settings for
TWSocket mailing list
> please goto
http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
> Visit
our website at http://www.overbyte.be
>
--
To unsubscribe or change your settings for TWSocket mailing list please goto
http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to