curl-users
Re: Shell Syntax to Force Binary Transfer (Upload)
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 19 May 2008 20:40:59 +0200 (CEST)
Date: Mon, 19 May 2008 20:40:59 +0200 (CEST)
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.seReceived on 2008-05-19