Rexxx
Hi!
I have problems connecting to certain FTP server when using SmartFTP (latest dev build) and going through SOCKS5. Contrary when using FlashFXP (I do not really like it but it works in this case) it works without any problem.
Here is the log:
The problem seems to be in handling SOCKS5 proxy and PASV mode. FlashFXP does it correctly. Here is the log from SOCKS5 proxy (localhost is the SOCK5 proxy, target site is named host.ftpsite.com here):
As can be seen FlashFXP correctly opens only one connection and goes through that (first line is SmartFTP connection to SOCKS5, second one SOCKS5 to FTP site itself)
Here's what SmartFTP does:
You can see here that SmartFTP tries to open another connection to FTP site that is refused. And that is where the error appears. BTW I tried all possible combinations of switching PASV in Global/Favorite mode on and off. No way there.
My info is:
Hope this helps. Best regards
Rex
I have problems connecting to certain FTP server when using SmartFTP (latest dev build) and going through SOCKS5. Contrary when using FlashFXP (I do not really like it but it works in this case) it works without any problem.
Here is the log:
Resolving host name ***.***.***.***...
Resolving host name host.ftpsite.com...
Connecting to Proxy (***.***.***.***) -> IP: ***.***.***.*** PORT: 1080
Connected to Proxy (***.***.***.***) -> Time = 0ms
Socket connected waiting for login sequence.
.
.
.
220 T00 MUCH iNFO (glftpd 1.27_Linux) ready.
USER Rex
331 Password required for Rex.
PASS (hidden)
230 User Rex logged in.
SYST
215 UNIX Type: L8
FEAT
500 'FEAT': Command not understood.
REST 100
350 Restarting at 100. Send STORE or RETRIEVE to initiate transfer.
REST 0
350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer.
PWD
257 "/" is current directory.
TYPE A
200 Type set to A.
PASV
227 Entering Passive Mode (***,***,***,***,***,***)
Opening data connection IP: ***,***,***,***,***,*** PORT: 38515.
SOCKS5: Unknow error code.
QUIT
221- Goodbye
221
Connection closed.
The problem seems to be in handling SOCKS5 proxy and PASV mode. FlashFXP does it correctly. Here is the log from SOCKS5 proxy (localhost is the SOCK5 proxy, target site is named host.ftpsite.com here):
Aug 20 10:33:03 core sockd[19974]: pass(1): tcp/accept [: 127.0.0.1.36915 -> 127.0.0.1.1080
Aug 20 10:33:03 core sockd[19975]: pass(3): tcp/connect [: 127.0.0.1.36915 -> host.ftpsite.com.7900
As can be seen FlashFXP correctly opens only one connection and goes through that (first line is SmartFTP connection to SOCKS5, second one SOCKS5 to FTP site itself)
Here's what SmartFTP does:
Aug 20 10:34:09 core sockd[19974]: pass(1): tcp/accept [: 127.0.0.1.36920 -> 127.0.0.1.1080
Aug 20 10:34:09 core sockd[19975]: pass(3): tcp/connect [: 127.0.0.1.36920 -> host.ftpsite.com.7900
Aug 20 10:34:14 core sockd[19974]: pass(1): tcp/accept [: 127.0.0.1.36921 -> 127.0.0.1.1080
Aug 20 10:34:14 core sockd[19975]: pass(3): tcp/connect [: 127.0.0.1.36921 -> host.ftpsite.com.38543
Aug 20 10:34:14 core sockd[19975]: pass(3): tcp/connect ]: 127.0.0.1.36921 -> host.ftpsite.com.38543: Connection refused
You can see here that SmartFTP tries to open another connection to FTP site that is refused. And that is where the error appears. BTW I tried all possible combinations of switching PASV in Global/Favorite mode on and off. No way there.
My info is:
+- System -----------------------------
Microsoft Windows XP Professional
Service Pack 1 (Build 2600)
CPU Speed : 880 MHz
Total Memory : 523760 KB
Free Memory : 270132 KB
+- SmartFTP ---------------------------
Version : 1.0.978.9
Time Stamp : 2003-08-19 00:09:29
+- Application DLL --------------------
controls.dll : 1.6.978.9
ftpapi.dll : 2.0.978.9
language.dll : 1.0.978.9
reseng.dll : 1.3.978.9
smarthook.dll : 1.0.2.1
+- System DLL -------------------------
shell32.dll : 6.00.2800.1145 (xpsp2.021108-1929)
shlwapi.dll : 6.00.2800.1106 (xpsp1.020828-1920)
comctl32.dll : 6.0 (xpsp1.020828-1920)
riched20.dll : 5.30.23.1211
schannel.dll : 5.1.2600.1106 (xpsp1.020828-1920)
+- Internet Explorer ------------------
Version : 6.0.2800.1106
+- Winsock ----------------------------
Winsock : 2.2
Hope this helps. Best regards
Rex