View Single Post
Old 10-30-2003, 09:46 AM  
Mouton
Posse Member
 
Join Date: Dec 2002
Posts: 1,956
Default APPE not working

Here's 4 resume tests, with both APPE and REST/STOR, using SSL and not SSL.

SSL/REST/STOR (works):
[09:36:20] [L] TYPE I
[09:36:20] [L] 200 Type set to I.
[09:36:22] [L] PROT P
[09:36:22] [L] 200 Protection set to: Private.
[09:36:22] [L] PASV
[09:36:22] [L] 227 Entering Passive Mode (127,0,0,1,4,4)
[09:36:22] [L] REST 34816
[09:36:22] [L] 350 Restarting at 34816. Send STORE or RETRIEVE to initiate transfer.
[09:36:22] [L] STOR file1.test
[09:36:22] [L] Connected. Negotiating SSL/TLS session..
[09:36:22] [L] SSL/TLS negotiation successful...
[09:36:22] [L] TLSv1/SSLv3 encrypted session using cipher RC4-MD5 (128 bits)
[09:36:22] [L] 150 Opening BINARY mode data connection for file1.test.

SSL/APPE (cause Connection lost):
[09:42:08] [L] TYPE I
[09:42:08] [L] 200 Type set to I.
[09:42:11] [L] PASV
[09:42:11] [L] 227 Entering Passive Mode (127,0,0,1,4,7)
[09:42:11] [L] APPE file1.test
[09:42:11] [L] Connected. Negotiating SSL/TLS session..
[09:42:11] Resumed: file1.test 127.43 MB in 12:50:08 (2.82 KBps)
[09:42:11] [L] TYPE A
[09:42:11] [L] 425 Can't build data connection: Seek offset exceeds end of file.
[09:42:11] [L] STAT -la
[09:42:11] [L] Connection lost: Localhost

Non-SSL/REST/STOR (works):
[09:43:23] [L] TYPE I
[09:43:23] [L] 200 Type set to I.
[09:43:25] [L] PASV
[09:43:25] [L] 227 Entering Passive Mode (127,0,0,1,4,8)
[09:43:25] [L] REST 34816
[09:43:25] [L] 350 Restarting at 34816. Send STORE or RETRIEVE to initiate transfer.
[09:43:25] [L] STOR file1.test
[09:43:26] [L] 150 Opening BINARY mode data connection for file1.test.

Non-SSL/APPE (fails):
[09:44:08] [L] TYPE I
[09:44:08] [L] 200 Type set to I.
[09:44:10] [L] PASV
[09:44:10] [L] 227 Entering Passive Mode (127,0,0,1,4,9)
[09:44:10] [L] APPE file1.test
[09:44:10] [L] 425 Can't build data connection: Seek offset exceeds end of file.
[09:44:10] Transfer Failed!
[09:44:10] [L] TYPE A
[09:44:10] [L] 200 Type set to A.
[09:44:10] [L] STAT -la
[09:44:10] [L] List Complete: 236 bytes in 0.10 (0.23 KBps)
[09:44:10] Transfer queue completed

Non-SSL APPE doesn't close connection, but doesn't work either.

ioFTPD 5.2.10r
FlashFXP v2.2 build 933 [BETA RELEASE]
WinSock 2.0 -- OpenSSL 0.9.7c 30 Sep 2003
Mouton is offline   Reply With Quote