cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Rename file on ftp server over proxy.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 17 Mar 2010 13:36:55 +0100 (CET)

On Wed, 17 Mar 2010, way sky wrote:

> Our administrator allow metod CONNECT on port 20 and 21. If I try upload
> file with using url like this:
> ftp://user:pass@server.com:21/file_destination.tmp, then cURL try connect on
> random port like this:
>> CONNECT server.com:62992 HTTP/1.1

Then something is really wrong. We have test cases that verify this
funcionality so the basic CONNECT stuff should work. Did you mention what
libcurl version and OS this is?

> If I try upload file with using url like this: ftp://user:pass@server.com:21,
> then cURL try connect to port 21 and proxy allow connetion:
> < HTTP/1.0 200 Connection established
> <
> * Proxy replied OK to CONNECT request
> But cURL with this url can't upload file with error:
> * Uploading to a URL without a file name!

Well, you do need a file name to upload to, what else are you going to name
the remote file?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-17