|
-
May 15th, 2009, 03:57 AM
#1
[solved]FTP uploads only 52 bytes then finishes =\
it stops at 52 bytes for jpeg files, it uploads txt files fully but without newline symbols.. would very appreciate help with making this better
*solved _http://mail.python.org/pipermail/python-list/2001-June/089022.html
Last edited by Owyn; May 15th, 2009 at 04:25 AM.
-
May 15th, 2009, 07:53 AM
#2
Re: FTP uploads only 52 bytes then finishes =\
for jpegs, set the mode to binary.
Textfiles are different on Unix or Windows in terms of line ends: CR/LF or simply LF. You need to convert them from one format to the other if you transfer between different OS.
On Unix, dos2unix/unix2dos can be used, for Windows various editors support both formats.
HTH,
Richard
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|