cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: SV: Canšt get thru proxy?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 18 Feb 2010 22:51:43 +0100 (CET)

On Thu, 18 Feb 2010, Ivansson Gunno wrote:

>> 14:27:20??Command:??USER xxxxx_at_ftp1.xxxx.se
>> 14:27:20??Response:?331 User name okay, need password.
>> 14:27:20??Command:??PASS *****
>> 14:27:21??Response:?230 User logged in, proceed.
>
> I suspect that is the type 5 in the above list.

> Daniel, I am completely lost. I have read the posting from 2003, but I am to
> ignorant to make any conclusions. Can I alter my command to make it work?

Well, to adapt your command line to work with the proxy you MAY need to do
something like this:

  curl ftp://[proxy]:8021/[remote server path] \
   -u user_at_ftp1.xxxx.se:remotepassword -v

Use -v to see what curl does, then compare it with that Filezilla output you
had from before and alter the curl command line accordingly.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-02-18