PDA

View Full Version : http proxy support


mintu
01-24-2005, 12:53 PM
hi
i m behind a firewall (with proxy username and password). i was using cuteftp pro 6.
one of my frnd suggest me to use flashfxp. i tried latest version.. but it did not work for me (403 forbidden error).
my proxy is http type. same setting and proxy setting works in cuteftp. i couldnt access outside ftp with flashfxp while same ftp with same settings is accessable with cuteftp pro 6.

i think the problem is that it works on tunneling (just a guess) as cuteftp doesnt specify anything abt their engine.
i jus want to say that please look in this matter. u can better understand abt these so have a look at cuteftp engine.
thanx
hope to see this function working in future releases.

here is the log file of flashfxp:
FlashFXP v3.1.7 build 1060 [BETA RELEASE]
Support Forums at http://forum.flashfxp.com

WinSock 2.0 -- OpenSSL 0.9.7e 25 Oct 2004
[R] Connecting to djluvmovies.srk2005movies.net via Proxy -> IP=10.200.13.50 PORT=80
[R] HTTP/1.0 403 Forbidden
[R] Server: squid/2.5.STABLE3-20030616
[R] Mime-Version: 1.0
[R] Date: Mon, 24 Jan 2005 17:58:10 GMT
[R] Content-Type: text/html
[R] Content-Length: 1090
[R] Expires: Mon, 24 Jan 2005 17:58:10 GMT
[R] X-Squid-Error: ERR_ACCESS_DENIED 0
[R] X-Cache: MISS from netmon.iitb.ac.in
[R] Proxy-Connection: close
[R] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
[R] <HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
[R] <TITLE>ERROR: The requested URL could not be retrieved</TITLE>
[R] <STYLE type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>
[R] </HEAD><BODY>
[R] <H1>ERROR</H1>
[R] <H2>The requested URL could not be retrieved</H2>
[R] <HR noshade size="1px">
[R] <P>
[R] While trying to retrieve the URL:
[R] <A HREF="djluvmovies.srk2005movies.net:21">djluvmovies.srk2005movies.net:21</A>
[R] <P>
[R] The following error was encountered:
[R] <UL>
[R] <LI>
[R] <STRONG>
[R] Access Denied.
[R] </STRONG>
[R] <P>
[R] Access control configuration prevents your request from
[R] being allowed at this time. Please contact your service provider if
[R] you feel this is incorrect.
[R] </UL>
[R] <P>Your cache administrator is <A HREF="mailto:webmaster">webmaster</A>.
[R] <BR clear="all">
[R] <HR noshade size="1px">
[R] <ADDRESS>
[R] Generated Mon, 24 Jan 2005 17:58:10 GMT by netmon.iitb.ac.in (squid/2.5.STABLE3-20030616)
[R] </ADDRESS>
[R] </BODY></HTML>
[R] Connection failed (Connection lost)
[R] Delaying for 120 seconds before reconnect attempt #1



here is the logs of cuteftp pro 6:
*** CuteFTP 6.0 - build Dec 23 2004 ***

STATUS:> Getting listing ""...
STATUS:> Connecting to HTTP proxy server 10.104.1.1:80 (ip = 10.104.1.1)...
STATUS:> Requesting server...
GET ftp://mintu@djluvmovies.srk2005movies.net:****@djluvmovi es.srk2005movies.net/ HTTP/1.1
Host: djluvmovies.srk2005movies.net:21
Range: bytes=0-
Referer: /
User-Agent: CuteFTP/6.0
Connection: Keep-Alive
Proxy-Connection: Keep-Alive
Accept: *.*, */*
Pragma: no-cache
Proxy-Authorization: Basic YjFhdGluOioqKio=

STATUS:> Receiving reply...
HTTP/1.1 200 OK
Date: Mon, 24 Jan 2005 17:42:00 GMT
Server: squid/2.5.STABLE6
Mime-Version: 1.0
Content-Type: text/html
X-Cache: MISS from cp1.iitb.ac.in, MISS from www.civil.iitb.ac.in
X-Cache-Lookup: MISS from cp1.iitb.ac.in:3128
X-Cache: MISS from proxy.iitb.ac.in
X-Cache-Lookup: MISS from proxy.iitb.ac.in:8000
Via: 1.0 www.civil.iitb.ac.in
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked

STATUS:> Downloading...
STATUS:> Directory listing completed.

bigstar
01-24-2005, 02:02 PM
FlashFXP doesn't support the http proxy get method, It only supports connection tunneling, In order to use FlashFXP with your proxy the proxy will need to be re-configured to allow connection tunneling.

The reason we don't support get is because it's too limited, FlashFXP would be extremely crippled and it would perform below most user expectations. not to mention site to site transfers aren't supported by this method.