Opened 18 years ago
Last modified 11 years ago
#1218 closed Bug report
FTPS+HTTPPROXY=does not work!
Reported by: | lantrex | Owned by: | Alexander Schuch |
---|---|---|---|
Priority: | normal | Component: | FileZilla Client |
Keywords: | Cc: | lantrex, Alexander Schuch | |
Component version: | Operating system type: | ||
Operating system version: |
Description
Client error: FTPS+HTTPPROXY=does not work!
Server: 0.9.22b
Client: 2.2.30
Proxy server: any
Connection type: FTP over SSL/TLS (implict encryption) + HTTP 1.1 PROXY
These bugs are only with Filezilla client+FTPS+HTTPPROXY.
If you use connection at Cuteftp8.0+FTPS+HTTPPROXY or FilezillaClient+FTP+HTTPPROXY, it works.
So the problem is with Filezilla client v FTPS+PASV.
=====BUG#1=====
Depending on the files in directory, for example, when directory is empty, a client can or can not display the contents of the directory.
CLIENT ERROR LOG FOR "DIR C:\1":
[04:05:36] Trace: FtpControlSocket.cpp(1213): List(FALSE,0,"/","1",9) OpMode=0 OpState=-1 caller=0x003bae74
[04:05:36] Status: Retrieving directory listing...
[04:05:36] Command: CWD /
[04:05:36] Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=1 caller=0x003bae74
[04:05:36] Response: 250 CWD successful. "/" is current directory.
[04:05:36] Trace: FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=1 caller=0x003bae74
[04:05:36] Command: PWD
[04:05:36] Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=2 caller=0x003bae74
[04:05:36] Response: 257 "/" is current directory.
[04:05:36] Trace: FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=2 caller=0x003bae74
[04:05:36] Command: CWD 1
[04:05:36] Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=3 caller=0x003bae74
[04:05:36] Response: 250 CWD successful. "/1" is current directory.
[04:05:36] Trace: FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=3 caller=0x003bae74
[04:05:36] Command: PWD
[04:05:36] Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=4 caller=0x003bae74
[04:05:36] Response: 257 "/1" is current directory.
[04:05:36] Trace: FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=4 caller=0x003bae74
[04:05:36] Command: TYPE A
[04:05:36] Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=8 caller=0x003bae74
[04:05:36] Response: 200 Type set to A
[04:05:36] Trace: FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=8 caller=0x003bae74
[04:05:36] Command: PASV
[04:05:36] Trace: TransferSocket.cpp(1137): m_pProxyLayer changed state from 0 to 1 caller=0x00b69a94
[04:05:36] Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=7 caller=0x003bae74
[04:05:36] Response: 227 Entering Passive Mode (10,11,2,131,4,80)
[04:05:36] Trace: FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=7 caller=0x003bae74
[04:05:36] Trace: TransferSocket.cpp(558): SetActive() caller=0x00b69a94
[04:05:36] Command: LIST
[04:05:36] Trace: TransferSocket.cpp(1137): m_pProxyLayer changed state from 1 to 2 caller=0x00b69a94
[04:05:36] Trace: TransferSocket.cpp(1137): m_pProxyLayer changed state from 2 to 4 caller=0x00b69a94
[04:05:36] Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=4 OpState=9 caller=0x003bae74
[04:05:36] Response: 150 Connection accepted
[04:05:36] Trace: FtpControlSocket.cpp(1213): List(FALSE,0,"","",0) OpMode=4 OpState=9 caller=0x003bae74
[04:05:36] Trace: TransferSocket.cpp(446): OnConnect(0) caller=0x00b69a94
[04:05:36] Trace: TransferSocket.cpp(1139): m_pSslLayer changed state from 0 to 4 caller=0x00b69a94
[04:05:36] Trace: TransferSocket.cpp(1139): m_pSslLayer changed state from 4 to 6 caller=0x00b69a94
[04:05:36] Trace: TransferSocket.cpp(518): OnClose(10053) caller=0x00b69a94
[04:05:36] Trace: TransferSocket.cpp(1125): Close() caller=0x00b69a94
[04:05:36] Trace: TransferSocket.cpp(1125): Close() caller=0x00b69a94
[04:05:36] Trace: FtpControlSocket.cpp(1969): TransferEnd(68) OpMode=4 OpState=10 caller=0x003bae74
[04:05:36] Trace: FtpControlSocket.cpp(1213): List(TRUE,64,"","",0) OpMode=4 OpState=10 caller=0x003bae74
[04:05:36] Trace: TransferSocket.cpp(96): ~CTransferSocket() caller=0x00b69a94
[04:05:36] Trace: TransferSocket.cpp(1125): Close() caller=0x00b69a94
[04:05:36] Trace: FtpControlSocket.cpp(3988): ResetOperation(4) OpMode=4 OpState=10 caller=0x003bae74
[04:05:36] Error: Could not retrieve directory listing
[04:05:37] Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=0 OpState=-1 caller=0x003bae74
[04:05:37] Response: 226 Transfer OK
SERVER LOG (ALWAYS THE SAME):
(000010) 1/15/2007 4:20:57 AM - 1 (10.11.2.1)> CWD 1
(000010) 1/15/2007 4:20:57 AM - 1 (10.11.2.1)> 250 CWD successful. "/1" is current directory.
(000010) 1/15/2007 4:20:57 AM - 1 (10.11.2.1)> PWD
(000010) 1/15/2007 4:20:57 AM - 1 (10.11.2.1)> 257 "/1" is current directory.
(000010) 1/15/2007 4:20:57 AM - 1 (10.11.2.1)> TYPE A
(000010) 1/15/2007 4:20:57 AM - 1 (10.11.2.1)> 200 Type set to A
(000010) 1/15/2007 4:20:57 AM - 1 (10.11.2.1)> PASV
(000010) 1/15/2007 4:20:57 AM - 1 (10.11.2.1)> 227 Entering Passive Mode (10,11,2,131,4,148)
(000010) 1/15/2007 4:20:57 AM - 1 (10.11.2.1)> LIST
(000010) 1/15/2007 4:20:57 AM - 1 (10.11.2.1)> 150 Connection accepted
(000010) 1/15/2007 4:20:57 AM - 1 (10.11.2.1)> SSL connection for data connection established
(000010) 1/15/2007 4:20:57 AM - 1 (10.11.2.1)> 226 Transfer OK
=====BUG#2=====
Uploaded files are of 4096 size, and files that are less than 4096 in size can not be uploaded to the server.
CLIENT ERROR LOG (uploading 1.txt 4 byles long):
Trace: FtpControlSocket.cpp(2004): FileTransfer(16843424, FALSE, 0) OpMode=0 OpState=-1 caller=0x0039b1fc
Status: Starting upload of C:\2\1.txt
Command: TYPE A
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=40 OpState=13 caller=0x0039b1fc
Response: 200 Type set to A
Trace: FtpControlSocket.cpp(2004): FileTransfer(0, FALSE, 0) OpMode=40 OpState=13 caller=0x0039b1fc
Command: PASV
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=40 OpState=17 caller=0x0039b1fc
Response: 227 Entering Passive Mode (127,0,0,1,4,207)
Trace: FtpControlSocket.cpp(2004): FileTransfer(0, FALSE, 0) OpMode=40 OpState=17 caller=0x0039b1fc
Command: STOR 1.txt
Trace: TransferSocket.cpp(1137): m_pProxyLayer changed state from 0 to 1 caller=0x003995ec
Trace: TransferSocket.cpp(1137): m_pProxyLayer changed state from 1 to 2 caller=0x003995ec
Trace: TransferSocket.cpp(1137): m_pProxyLayer changed state from 2 to 4 caller=0x003995ec
Trace: FtpControlSocket.cpp(823): OnReceive(0) OpMode=40 OpState=18 caller=0x0039b1fc
Response: 150 Connection accepted
Trace: FtpControlSocket.cpp(2004): FileTransfer(0, FALSE, 0) OpMode=40 OpState=18 caller=0x0039b1fc
Trace: TransferSocket.cpp(558): SetActive() caller=0x003995ec
Trace: TransferSocket.cpp(446): OnConnect(0) caller=0x003995ec
Trace: TransferSocket.cpp(1139): m_pSslLayer changed state from 0 to 2 caller=0x003995ec
Command: REST 0
Response: 350 Rest supported. Restarting at 0
Status: Disconnected from server
Error: Timeout detected!
Trace: TransferSocket.cpp(1125): Close() caller=0x003995ec
Trace: FtpControlSocket.cpp(1969): TransferEnd(168) OpMode=40 OpState=19 caller=0x0039b1fc
Trace: FtpControlSocket.cpp(2004): FileTransfer(0, TRUE, 128) OpMode=40 OpState=19 caller=0x0039b1fc
Trace: FtpControlSocket.cpp(1140): DoClose(0) OpMode=40 OpState=19 caller=0x0039b1fc
Trace: FtpControlSocket.cpp(3988): ResetOperation(4100) OpMode=40 OpState=19 caller=0x0039b1fc
Trace: TransferSocket.cpp(96): ~CTransferSocket() caller=0x003995ec
Trace: TransferSocket.cpp(1125): Close() caller=0x003995ec
Error: Upload failed
Please fix it asap.
Thank you!
Change History (2)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
FileZilla 3.1.0 supports HTTP/1.1 proxy for FTPS.
Can you please try if the proxy implementation works for you and report back? Thanks!