Re: [Tutor] Corrupt files (fwd)

2005-08-03 Thread ZIYAD A. M. AL-BATLY
On Tue, 2005-08-02 at 13:22 -0700, Danny Yoo wrote: -- Forwarded message -- Date: Tue, 2 Aug 2005 22:12:34 +0200 (CEST) From: [iso-8859-1] yvind [EMAIL PROTECTED] To: Danny Yoo [EMAIL PROTECTED] Subject: Re: [Tutor] Corrupt files Hello and thank you. I don't really

[Tutor] Corrupt files

2005-08-02 Thread Øyvind
Hello. I have created a program that automatically downloads some files I need. It can be .zip, .jpg, .mpg or .txt. However, a lot of the time urlretrieve downloads the file, gives no error, but the downloaded file is corrupted. I use a simple check for the size of the file. If it is way too

Re: [Tutor] Corrupt files

2005-08-02 Thread Danny Yoo
On Tue, 2 Aug 2005, [iso-8859-1] �yvind wrote: Is there some function/modulte that checks a files integrity wheter or not the file is corrupt or not? Hello! A general technique that people have used before is to provide file checksums of large files. These checksums can be used to verify

Re: [Tutor] Corrupt files

2005-08-02 Thread geon
Øyvind napsal(a): Hello. I have created a program that automatically downloads some files I need. It can be .zip, .jpg, .mpg or .txt. However, a lot of the time urlretrieve downloads the file, gives no error, but the downloaded file is corrupted. I use a simple check for the size of the file. If

Re: [Tutor] Corrupt files (fwd)

2005-08-02 Thread Danny Yoo
-- Forwarded message -- Date: Tue, 2 Aug 2005 22:12:34 +0200 (CEST) From: [iso-8859-1] �yvind [EMAIL PROTECTED] To: Danny Yoo [EMAIL PROTECTED] Subject: Re: [Tutor] Corrupt files Hello and thank you. I don't really think that will help. The files are mostly smaller ones

Re: [Tutor] Corrupt files

2005-08-02 Thread Alan G
I have created a program that automatically downloads some files I need. It can be .zip, .jpg, .mpg or .txt. However, a lot of the time urlretrieve downloads the file, gives no error, but the downloaded file is corrupted. I use a simple check for the size of the file. If it is way too small, I

Re: [Tutor] Corrupt files

2005-08-02 Thread Roger Merchberger
Rumor has it that geon may have mentioned these words: Øyvind napsal(a): Hello. I have created a program that automatically downloads some files I need. It can be .zip, .jpg, .mpg or .txt. However, a lot of the time urlretrieve downloads the file, gives no error, but the downloaded file is