On Mon, 28 Nov 2011, Maule Mark wrote:

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?

I don't remember exactly but why don't you try it and see for yourself?

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to