curl-users
SFTP will not upload more than 16384 bytes.
Date: Tue, 12 Feb 2008 13:09:34 -0000
Hi
I am using curl with Cygwin on Windows XP and have the following
problem. The maximum file size that will ever get uploaded in 16384
bytes. If the file size to upload is larger, only the first 16384 bytes
get uploaded, and curl returns a status code 55. Smaller file sizes
upload perfectly and return status code of zero.
Running curl --version gives:
curl 7.16.3 (i686-pc-cygwin) libcurl/7.16.3 OpenSSL/0.9.8g zlib/1.2.3
libssh2/0.15-CVS
Protocols: tftp ftp telnet dict ldap http file https ftps scp sftp
Features: Largefile NTLM SSL libz
The line in the bash script is shown below.
curl -u $FTP_USERNAME:$GOOD_PASSWORD -T $PORTAL_PAGE
sftp://address_of_server/
Any ideas on how I can get this to work?
Many thanks
Colin
.
----------------------------------------------------------------------------------------------------------------------
............................ esure® .................................
( car insurance | home insurance | travel insurance | pet insurance )
........................ www.esure.com ..............................
This email may contain confidential or legally privileged information
intended only for the individual or entity named in the email address.
If you are not the intended recipient, any disclosure, copying,
distribution or reliance upon its contents is strictly prohibited.
The content of this email does not necessarily reflect the views of
the company or its officers and esure takes no responsibility for the
views of the author. If you have received this email in error,
please reply to the sender so esure can arrange for its proper
delivery, then delete it and all copies from your system. Although
esure aims to use efficient virus checking procedures, we accept no
liability for viruses. Recipients should use their own up-to-date
virus prevention. Emails sent and received may be read by people
other than the intended recipient and may be monitored to ensure
efficient email systems.
esure Services Limited, Registered in England and Wales No. 2135610.
Registered Office: The Observatory, Reigate, Surrey RH2 0SG.
Authorised and regulated by the Financial Services Authority
....................................................................
==============================================================================
Received on 2008-02-12