cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1675510 ] Nonanonymous FTP upload through proxy fails

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Thu, 08 Mar 2007 16:28:13 -0800

Bugs item #1675510, was opened at 2007-03-06 23:53
Message generated for change (Comment added) made by dfandrich
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1675510&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: ftp
Group: bad behaviour
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: idea_spirit (idea_spirit)
Assigned to: Daniel Stenberg (bagder)
Summary: Nonanonymous FTP upload through proxy fails

Initial Comment:
Please, could you help me to solve the problem?

I use curl_716_1 for Win32 in Windows XP to upload file through proxy.
(curl 7.16.1 (i386-pc-win32) libcurl/7.16.1 zlib/1.2.3
Protocols: tftp ftp telnet dict ldap http file
Features: Largefile libz
)

I use these commands to do it:
set ftp_proxy="http://my_proxy:port"
curl -T myfile.txt -u anonymous:myemail@a.eu ftp://europe.future.eu/directory/

and it works fine.

But if there is nonanonymous access required on FTP side,
I use the same commands with the proper user and pass:

set ftp_proxy="http://my_proxy:port"
curl -T myfile.txt -u user:password ftp://europe.future.eu/directory/

I get the message from the target FTP server:
<blockquote><strong><pre>Permission denied; you may only upload to an &quot;incoming&quot; directory.</pre></strong></blockquote>

Using the same configuration in program Total Commander,the upload is successfull. Obviously there is no problem in proxy.

----------------------------------------------------------------------

>Comment By: Dan Fandrich (dfandrich)
Date: 2007-03-08 16:28

Message:
Logged In: YES
user_id=236775
Originator: NO

Are you sure your proxy allows specifying ftp user names in this way?
Squid, for one, doesn't. You need to use the URL
ftp://anonymous:myemail%40a.eu@europe.future.eu/directory/ instead of the
-u option.

----------------------------------------------------------------------

Comment By: Daniel Stenberg (bagder)
Date: 2007-03-08 14:05

Message:
Logged In: YES
user_id=1110
Originator: NO

Can you show us a trace log from the "Total Commander" tool's upload and a
--trace-ascii dump from curl so that we can compare?

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1675510&group_id=976
Received on 2007-03-09

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET