cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Bug in cURL?? (command line w/ "--local-port" option)...

From: Scott Fletcher <fletchsod_at_yahoo.com>
Date: Thu, 23 Nov 2006 14:03:32 -0800 (PST)

I'll have to try that on Monday morning. I remembered it not working when I tried the "
   
  ARAUTOAC" but probably with different command options. So, I'll try it again with the correct command options and see what happen.
   
  Scott

Dan Fandrich <dan_at_coneharvesters.com> wrote:
  On Thu, Nov 23, 2006 at 07:59:29AM -0800, Scott Fletcher wrote:
> The paper I got from the SunTrust bank said this...
>
> --snip--
> DNS: onlinefiletransfer.suntrust.com
> REMOTE ID: ***
> PSW: ***
> PROTOCOL: FTPS(SSL/AUTH)
> PASSIVE MODE
> EXPLICIT
> CONNECTION PORT : 20021
> DATA CONTROL PORT RANGE: 20050-20750
>
> cd /ARAUTOAC then put filename (for transferring over)
> --snip--

Since they specify passive mode, the data control port range they give is
advisory only (in case you need to poke some holes through a local firewall).

> Something I should know about? Also, is this command
> line correct (if we leave out the "--local-port"
> command's option).
>
> --snip--
> curl -v -T "file_testcase.txt" --disable-epsv
> --disable-eprt --ftp-pasv --ftp-ssl --local-port
> "20050-20750" -u "***:***"
> "ftp://onlinefiletransfer.suntrust.com:20021" --quote
> "CWD /ARAUTOAU"
> --snip--

You shouldn't need a --local-port nor --quote here. Change the URL to
ftp://onlinefiletransfer.suntrust.com:20021//ARAUTOAU instead of doing a
manual CWD.

>>> Dan

-- 
http://www.MoveAnnouncer.com The web change of address service
Let webmasters know that your web site has moved
Received on 2006-11-23