cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Retrieving files using curl

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 12 Feb 2008 13:29:06 -0800

On Tue, Feb 12, 2008 at 08:42:27PM -0000, manoj rs wrote:
> I'm able to transfer files to remote server through FTPS using curl..But not
> able to retrieve files using curl.
> I have used this command to upload files and its working fine.
> curl -vk -u xxxxxx:xxxxxxx -T "/tmp/samplefile.txt" -Q "CWD /File_Listing"
> FTPS://111.111.111.12:990
>
> I have used this command to retrieve files.but its not working..
>
> curl -vk -u xxxxxx:xxxx FTPS://111.111.111.12:990/Directory/Errorfile -O "/
> tmp/ErrorFile"
>
> I need to retrieve some files from their test directory and put it in our tmp
> directory.
>
> Pls help me to solve this problem.

In what way does it fail? What debug logs does this give? Are you sure you
have permission to download that file?

(This is really an curl issue and should have been brought up in the
curl-users mailing list instead of curl-library.)

>>> Dan

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