curl-library
Re: libshh sftp download 0 bytes
Date: Sat, 1 Mar 2008 10:38:39 +0000
On Fri, Feb 29, 2008 at 06:35:22PM +0100, Yang Tse wrote:
> 2008/2/29, mikep_at_proatria.com wrote:
>
> > I'm testing some changes to sftp (lib/ssh.c) but while testing I seem to
> > get a continual loop on downloading zero bytes. Can anyone confirm this
> > as an existing problem?
>
> You'll need to make a more precise question or description of the
> problem so that others can help you. Its not even clear if you are
> trying to download a zero-byte size file or what.
I am adding resume support to libcurl. While testing, I wanted to make sure that large files (over 4GB) and zero byte files work, but I found that the download of zero bytes never finishes, I just see calls to my progress function repeating. The reason I posted was to see if anyone else can confirm if a download of zero bytes with sftp works for them (in which case my code is at fault - quite likely).
Cheers
Mike
-- Regards Mike Protts Senior Technical Consultant Pro:Atria Ltd +44(0) 870 7656453Received on 2008-03-01