by Gary Maxwell » Fri Feb 05, 2010 4:51 am
On this thread, I've enabled tracing to try & ascertain why we're getting a disconnect in the first place.
On issuing the FTP.Putfile command we see the following at the end of the transfer (ip address replaced for obvious reasons):
1670 30 35 30 30 30 31 0D 0A:55 54 4C 31 30 30 30 30 050001..UTL10000
1680 30 30 35 38 32 37 30 35:35 30 30 30 30 36 34 31 0058270550000641
1690 20 20 20 20 20 20 20 20:20 20 20 20 20 20 20 20
16A0 20 20 20 20 20 20 20 20:20 20 20 20 20 20 20 20
16B0 20 20 0D 0A ..
CSCRIPT 215358 0000 INF: closesocket(476) returned 0
CSCRIPT 215458 60000 INF: select(64, 0x13e14c, 0x0, 0x0, 60:0) returned 0
CSCRIPT 215458 0000 INF: closesocket(480) returned 0
CSCRIPT 215458 0000 INF: socket(2, 1, 0) returned 480
CSCRIPT 215458 0000 WRN: connect(480, 99.99.99.99:21, 16) returned -1 [10035]
CSCRIPT 215458 0000 INF: select(64, 0x0, 0x13dfc4, 0x0, 60:0) returned 1
CSCRIPT 215501 3016 INF: select(64, 0x13de00, 0x0, 0x0, 60:0) returned 1
CSCRIPT 215501 0000 INF: recv(480, 0x13df28, 1, 0) returned 1 0000 32 2
CSCRIPT 215501 0000 INF: select(64, 0x13de00, 0x0, 0x0, 60:0) returned 1
CSCRIPT 215501 0000 INF: recv(480, 0x13df29, 1, 0) returned 1
0000 32 2
CSCRIPT 215501 0000 INF: select(64, 0x13de00, 0x0, 0x0, 60:0) returned 1
CSCRIPT 215501 0000 INF: recv(480, 0x13df2a, 1, 0) returned 1
0000 30 0
CSCRIPT 215501 0000 INF: select(64, 0x13de00, 0x0, 0x0, 60:0) returned 1
CSCRIPT 215501 0000 INF: recv(480, 0x13df2b, 1, 0) returned 1
0000 2D -
I'm not sure if there's anything significant in this detail.
When the transfer is retried successfully sometime later:
1660 36 37 36 20 35 32 30 31:33 36 35 30 34 30 32 31 676 520136504021
1670 30 35 30 30 30 31 0D 0A:55 54 4C 31 30 30 30 30 050001..UTL10000
1680 30 30 35 38 32 37 30 35:35 30 30 30 30 36 34 31 0058270550000641
1690 20 20 20 20 20 20 20 20:20 20 20 20 20 20 20 20
16A0 20 20 20 20 20 20 20 20:20 20 20 20 20 20 20 20
16B0 20 20 0D 0A
CSCRIPT 230437 0000 INF: closesocket(500) returned 0
CSCRIPT 230437 0000 INF: select(64, 0x13e14c, 0x0, 0x0, 60:0) returned 1
CSCRIPT 230437 0000 INF: recv(508, 0x13e274, 1, 0) returned 1
0000 32 2
CSCRIPT 230437 0000 INF: select(64, 0x13e14c, 0x0, 0x0, 60:0) returned 1
CSCRIPT 230437 0000 INF: recv(508, 0x13e275, 1, 0) returned 1
0000 32 2
CSCRIPT 230437 0000 INF: select(64, 0x13e14c, 0x0, 0x0, 60:0) returned 1
CSCRIPT 230437 0000 INF: recv(508, 0x13e276, 1, 0) returned 1
0000 36 6
CSCRIPT 230437 0000 INF: select(64, 0x13e14c, 0x0, 0x0, 60:0) returned 1
CSCRIPT 230437 0000 INF: recv(508, 0x13e277, 1, 0) returned 1
0000 20
GM