PDA

View Full Version : behind proxy


andreas
08-08-2012, 06:55 AM
I am trying to connect to ftp server behing websense proxy (again!)
Required format is :


[14:01:14] [R] Connecting to ftp.mysite.gr - Proxy via Proxy -> IP=proxy.mydomain.com PORT=2121 (attempt # 9)
[14:01:14] [R] Connected to ftp.mysite.gr - Proxy via Proxy
[14:01:14] [R] 220-websense Content Gateway Ftp Proxy Ready
[14:01:14] [R] 220- Please use the
[14:01:14] [R] 220- username@ftp-server-name format, e.g. anonymous@ftp.websense.com
[14:01:14] [R] 220 for the user name prompt!


Option USER %user@%host is not available.
Option 12 and Option 14 dont seem to work


FlashFXP version 4.2.5.1813
OS: Windows 7 SP1

bigstar
08-08-2012, 02:31 PM
I am trying to connect to ftp server behing websense proxy (again!)
Option USER %user@%host is not available.
Option 12 and Option 14 dont seem to work


FlashFXP version 4.2.5.1813
OS: Windows 7 SP1

The correct proxy type would be type 11 or 12, but if the destination FTP server is on port 21 then both types provide the same result.

I tested both proxy type 11 and 12 and they appear to be working with my ftp proxy, what is the reply from the server after the USER user@host command is sent?

andreas
08-09-2012, 02:07 AM
[10:03:45] [R] Connecting to FTP.MYSITE.GR - Proxy via Proxy -> IP=proxy.mydomain.com PORT=2121
[10:03:45] [R] Connected to FTP.MYSITE.GR - Proxy via Proxy
[10:03:45] [R] 220-websense Content Gateway Ftp Proxy Ready
[10:03:45] [R] 220- Please use the
[10:03:45] [R] 220- username@ftp-server-name format, e.g. anonymous@ftp.websense.com
[10:03:45] [R] 220 for the user name prompt!
[10:03:45] [R] USER mydomainuser
[10:03:45] [R] 501 Syntax error in parameters or arguments.
[10:03:45] [R] Connection failed
[10:03:45] [R] Delaying for 120 seconds before reconnect attempt #1
[10:04:03] [R] Retry attempt Aborted
[10:04:04] [R] Connecting to FTP.MYSITE.GR - Proxy via Proxy -> IP=proxy.mydomain.com PORT=2121
[10:04:04] [R] Connected to FTP.MYSITE.GR - Proxy via Proxy
[10:04:04] [R] 220-websense Content Gateway Ftp Proxy Ready
[10:04:04] [R] 220- Please use the
[10:04:04] [R] 220- username@ftp-server-name format, e.g. anonymous@ftp.websense.com
[10:04:04] [R] 220 for the user name prompt!
[10:04:04] [R] USER domain\mydomainuser
[10:04:04] [R] 501 Syntax error in parameters or arguments.
[10:04:04] [R] Connection failed
[10:04:04] [R] Delaying for 120 seconds before reconnect attempt #1
[10:04:20] [R] Retry attempt Aborted
[10:04:20] [R] Connecting to FTP.MYSITE.GR - Proxy via Proxy -> IP=proxy.mydomain.com PORT=2121
[10:04:20] [R] Connected to FTP.MYSITE.GR - Proxy via Proxy
[10:04:20] [R] 220-websense Content Gateway Ftp Proxy Ready
[10:04:20] [R] 220- Please use the
[10:04:20] [R] 220- username@ftp-server-name format, e.g. anonymous@ftp.websense.com
[10:04:20] [R] 220 for the user name prompt!
[10:04:20] [R] USER domain\mydomainuser
[10:04:20] [R] 501 Syntax error in parameters or arguments.
[10:04:20] [R] Connection failed
[10:04:20] [R] Delaying for 120 seconds before reconnect attempt #1
First two attempts are with Option 11
Third attempt is with Option 12

None option seems to work.
Using WINSCP I make it working using option USER %user@%host

bigstar
08-09-2012, 08:52 PM
In the proxy settings did you leave the user/pass blank? if yes remove them and see if that solves the problem.

My guess is its trying to send a proxy user login and not the actual site user login.

andreas
08-10-2012, 01:28 AM
In the proxy settings I have configured username & password.

If I select "Prompt" for proxy password it fails again. (after asking for password).

If I leave username/password empty it connects, but probably directly!!

09:49:49] [R] 220- Please use the
[09:49:49] [R] 220- username@ftp-server-name format, e.g. anonymous@ftp.websense.com
[09:49:49] [R] 220 for the user name prompt!