OriginalBrownster wrote:
> I am currently uploading a file from a users computer to the file
> system on my server using python, just reading the file and writing the
> binaries.
>
> total_data=' '
> while True:
> data = upload_file.file.read(8192)
> if not
Assuming your upload_file.file.read() function works, the overwriting
should be the only issue. Just want to point out that total_data +=
data is not advisable for this example (speed/efficiency issue,
although i'm sure it could probably be even faster than what I replace
it with if u decided to u
On Sun, 20 Aug 2006 13:49:22 -0700, OriginalBrownster wrote:
> I am currently uploading a file from a users computer to the file
> system on my server using python, just reading the file and writing the
> binaries.
>
> total_data=' '
> while True:
> data = upload_file.
I am currently uploading a file from a users computer to the file
system on my server using python, just reading the file and writing the
binaries.
total_data=' '
while True:
data = upload_file.file.read(8192)
if not data:
break
t