Opened 23 years ago
Last modified 23 years ago
#73 closed Bug report
1.8 pasv mode freaking out ftp servers
Reported by: | ryanoneill | Owned by: | Tim Kosse |
---|---|---|---|
Priority: | normal | Component: | Other |
Keywords: | Cc: | ryanoneill, Tim Kosse | |
Component version: | Operating system type: | ||
Operating system version: |
Description
When i try to upload with 1.8 in passive mode, i get
an error:
Status: Starting upload of c:\Program
Files\FileZilla\license.txt
Command: TYPE A
Response: 200 Type set to A.
Command: PASV
Response: 227 Entering Passive Mode (12,x,2,11,56,16).
Command: STOR license.txt
Error: Transfer channel can't be opened. Reason: The
requested address is not valid in its context.
Error: Upload failed
On the logs for my ftp server (g6) i see:
STOR license.txt
asked to upload 'license.txt' in 'd:\' --> Access
allowed.
PASV
aborted uploading 'license.txt' in 'd:\' -
(17:42:41 - -0.001 KB - 0.000 KBytes/s).
227 Entering Passive Mode (192,168,0,2,40,123).
TYPE A
200 Type set to A.
LIST
PASV
426 Cannot retrieve. Failed. Aborting
227 Entering Passive Mode (192,168,0,2,249,189).
Compared with 1.7b (which works), there was no PASV
command issued after STOR. It just goes straight
to "data connection." That has to be the reason it's
messing up.. right?
I tried it real quick to upload to a proftpd server
and i got the same error.
I hope it's not just me.
thnx
with [x] trace messages:
Trace: ControlSocket.cpp(1230) : FileTransfer(13758680,
FALSE, 0) OpMode=0 OpState=-1
Status: Starting upload of c:\Program
Files\FileZilla\license.txt
Command: TYPE A
Trace: ControlSocket.cpp(230) : OnReceive(0)
Response: 200 Type set to A.
Trace: ControlSocket.cpp(1230) : FileTransfer(0, FALSE, 0)
OpMode=40 OpState=8
Command: PASV
Trace: ControlSocket.cpp(230) : OnReceive(0)
Response: 227 Entering Passive Mode (12,[cut],2,11,73,229).
Trace: ControlSocket.cpp(1230) : FileTransfer(0, FALSE, 0)
OpMode=40 OpState=10
Command: STOR license.txt
Trace: TransferSocket.cpp(243) : OnConnect(10049)
Error: Transfer channel can't be opened. Reason: The
requested address is not valid in its context.
Trace: TransferSocket.cpp(633) : Close()
Trace: ControlSocket.cpp(1194) : TransferEnd(104)
Trace: ControlSocket.cpp(1230) : FileTransfer(0, TRUE, 64)
OpMode=40 OpState=11
Trace: ControlSocket.cpp(2220) : ResetOperation(4)
Error: Upload failed