cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Active FTP issue

From: Young,Jim <Jim.Young_at_cerner.com>
Date: Mon, 12 Apr 2010 10:10:58 -0500

>Hi,
>
>I'm attempting to have curl download a file from an ftp site that only allows active ftp. I get curl to work on my home windows os with a dsl connection, but not on my >cloud image (which has a fixed ip). the form i'm using is:
>
>curl --url "ftp://ftpsite/file" --user theuser:thepassword -P 21 -v
>

Try using "-P -" rather than "-P 21". I think curl is interpreting the "21" as an IP address which is probably not what you'd intended.

Jim Youn

----------------------------------------------------------------------
CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024.

-------------------------------------------------------------------
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-04-12