Re: Problem with FTPLib and incomplete files on some downloads

2006-01-20 Thread BJ Swope
Just guessing but are the files binary yet you are downloading them without declaring binary?On 1/16/06, Peter A.Schott < [EMAIL PROTECTED]> wrote:I download a lot of 4-6 KB files and regularly run into issues with files that don't get downloaded all the way or otherwise get corrupt.I do something

Re: Problem with FTPLib and incomplete files on some downloads

2006-01-17 Thread Martin Franklin
Peter A.Schott wrote: > I download a lot of 4-6 KB files and regularly run into issues with files that > don't get downloaded all the way or otherwise get corrupt. > > I do something like: > > RemoteList = nlstdir() > for filename in RemoteList: > LocalFile = open(filename, "wb") > LocalFile.

Problem with FTPLib and incomplete files on some downloads

2006-01-16 Thread Peter A.Schott
I download a lot of 4-6 KB files and regularly run into issues with files that don't get downloaded all the way or otherwise get corrupt. I do something like: RemoteList = nlstdir() for filename in RemoteList: LocalFile = open(filename, "wb") LocalFile.write( "get file code here" ) LocalFil