cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: FTPS upload - weird heading insertion

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 24 Sep 2010 16:15:48 -0700

On Fri, Sep 24, 2010 at 11:05:11PM +0200, Daniel Stenberg wrote:
> On Fri, 24 Sep 2010, vincent.preau_at_bnpparibas.com wrote:
>
> >After uploading files to an FTPS Server, I get strange
> >characters/delimiters at the very beginning of the uploaded files :
> >NUL|NUL|ETX|Î.
>
> I figure that means they are three bytes: 00 00 03

Or four bytes: 00 00 03 CE or five bytes: 00 00 03 C3 8E Almost looks
like a big-endian length specifier (974 or 246670).

Could it be an artifact of the program you're using to view the files?
Is the end of the file fine? Is the length of the file correct on the
FTPS server?

>>> Dan
-------------------------------------------------------------------
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 2010-09-25