Re: missing 13; upload script

new topic     » goto parent     » topic index » view thread      » older message » newer message

Salix wrote:
> I'm struggling with an upload CGI script. (Again.) 
> 
> The problem is rather strange... I collect the input with get_bytes(0,i) but
> the returned sequence sometimes misses some 13 bytes from the file part. What
> is going on? Any idea?

Be careful to upload binary files using the BINARY option (not ASCII)
in your FTP program. Otherwise you might have 13 10 (i.e. CR LF)
character combinations converted to just a 10.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu