curl-users
Re: feature request: upload zip stream to DAV
Date: Wed, 13 Feb 2013 21:30:52 +0100
Hi,
wonderful it works (tested in cygwin):
cat file.txt | ./curl.exe -k --upload-file -
https://upload.mycompany.com/upload/file.txt
NB: It's mandatory to specify filename in the url.
Thank you very much. I didn't notice this fetaure in the doc. Have tried
similar syntax but without success.
Now I must improve script to pipe 7zip output stream to curl.... it should
be possible !
Francesco
On Wed, Feb 13, 2013 at 9:09 PM, Young,Jim <Jim.Young_at_cerner.com> wrote:
> Francesco Pasqualini wrote: ** **
>
> ** **
>
> >Large files take several minutes to zip and several minutes to upload.
> It would very useful if while zipping curl >does not wait to the zip
> process end but start immediatly sending bytes from the 7zip output stream.
> ****
>
> ** **
>
> I haven’t tried it but have you looked at having gzip write to stdout and
> specifying “—upload-file –“ to curl? (This is from a Unix/Linux
> perspective. Not sure about Windows.) ****
> 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
>
>
-------------------------------------------------------------------
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 2013-02-13