curl-users
Re: Shell Syntax to Force Binary Transfer (Upload)
Date: Wed, 21 May 2008 12:21:09 -0400
Daniel,
Thanks, although I thought all was well I'm still running into a
problem where my end of lines seem to be changing. Just to make sure
it's not this process, I'd like to explicitly include --data-binary,
if this is possible, with... I just don't know how to do it...
curl -T /TempUploads/UserFolder/mynewfile.txt -u ftpuser:passwd
ftp://ftp.myurl.com/test/
Steve
On May 20, 2008, at 6:00 AM, curl-users-request_at_cool.haxx.se wrote:
> Date: Mon, 19 May 2008 20:40:59 +0200 (CEST)
> From: Daniel Stenberg <daniel_at_haxx.se>
> Subject: Re: Shell Syntax to Force Binary Transfer (Upload)
> To: the curl tool <curl-users_at_cool.haxx.se>
> Message-ID: <Pine.LNX.4.64.0805192040220.7778_at_yvahk3.pbagnpgbe.fr>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> On Mon, 19 May 2008, Christiansen Stephen wrote:
>
>> I've got something like this working from the shell successfully
>> (Mac OS X):
>>
>> curl -T /TempUploads/UserFolder/mynewfile.txt -u ftpuser:passwd
>> ftp://ftp.myurl.com/test/
>>
>> I'd like to ensure a binary transfer w/ --data-binary, but don't
>> know how to
>> implement it in conjunction with the above.
>
> curl defaults to binary transfers with FTP so you don't need to do
> anything
> else than that!
>
> --
>
> / daniel.haxx.se
Received on 2008-05-21