[Tutor] Ftp question

Sharriff Aina NHYTRO@compuserve.com
Mon, 14 May 2001 06:01:52 -0400


Hi!

1. using the ftplib to upload images onto a remote server per CGI, I
noticed that after a fie upload, the connection closes, is there a way to=

keep this connection open till I finish iterating thru a a list of files =
to
upload? I found nothing addressing this at Python.org.

2. Some files don=B4t get completely transfered, only gibberish is writte=
n. I
noticed this happens to bigger files. I increased the Buffer to 8192 but
that did=B4nt help, is there a way to address this problem? I=B4ll be upl=
oading
very big image files.


Cheers


Sharriff