Python has a simple test to differentiate a folder from a file: stat.S_ISDIR(os.stat(file).st_mode)loki wrote: it doesn't differentiate a folder from a file.
Search found 7 matches
- Sun Oct 19, 2008 4:48 pm
- Forum: Support
- Topic: Deluge overwrites files when downloading with same name.
- Replies: 10
- Views: 6102
Re: Deluge overwrites files when downloading with same name.
- Sat Oct 18, 2008 8:27 pm
- Forum: Support
- Topic: Deluge overwrites files when downloading with same name.
- Replies: 10
- Views: 6102
Re: Deluge overwrites files when downloading with same name.
So from the sounds of it, you had a completed file located at: <download directory>/file.7z/file.7z you then removed that file from deluge and re-added it, specifying <download directory>/file.7z/ to be the download directory. deluge saw the file.7z (actual file) and thought it was the file.7z fold...
- Sat Oct 18, 2008 4:25 am
- Forum: Support
- Topic: Deluge overwrites files when downloading with same name.
- Replies: 10
- Views: 6102
Re: Deluge overwrites files when downloading with same name.
The only thing I can think is the file wasn't the same as when the torrent file was created so it marked the data as corrupt and started downloading the proper data for the torrent. No. Deluge expected to place a FOLDER in the torrents folder. Instead there was a FILE of the same name as the FOLDER...
- Fri Oct 17, 2008 11:58 pm
- Forum: Support
- Topic: Deluge overwrites files when downloading with same name.
- Replies: 10
- Views: 6102
Re: Deluge overwrites files when downloading with same name.
I removed the torrent from deluge before adding it back in again. Did you do that?
- Fri Oct 17, 2008 7:16 am
- Forum: Support
- Topic: Deluge overwrites files when downloading with same name.
- Replies: 10
- Views: 6102
Deluge overwrites files when downloading with same name.
Okay I had a torrent with a folder named something.7z inside this folder was a 7zip file named something.7z (same exact name) I though there was an error in my torrent so I moved the 7zip file back into the torrents folder and re-initialized the .torrent file. Deluge promptly overwrote the something...
- Wed Oct 01, 2008 7:33 pm
- Forum: Support
- Topic: Deluge dissapeared my torrrents. Deluge make me a sad panda.
- Replies: 4
- Views: 2512
Re: Deluge dissapeared my torrrents. Deluge make me a sad panda.
When I do that, it just ignores me.johnnyg wrote:have you tried forcing a recheck?
- Tue Sep 30, 2008 5:23 am
- Forum: Support
- Topic: Deluge dissapeared my torrrents. Deluge make me a sad panda.
- Replies: 4
- Views: 2512