curl-library
scp and unknown upload length
From: Maule Mark <mark_maule_at_yahoo.com>
Date: Mon, 28 Nov 2011 06:28:28 -0800 (PST)
Date: Mon, 28 Nov 2011 06:28:28 -0800 (PST)
Hi all:
I've got a little uploader program which reads from stdin and uploads to a host using libcurl. �I'm currently using ftp: as the transport and it works great. �However, not all of our upload targets enable ftp service, so I'd prefer to use scp:. �Is is possible to upload a file of unknown length with the scp: service? �If I set CURLOPT_INFILESIZE to some large value and transfer less than that, will things work out okay?
thanks
Mark
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-11-28