PDA

View Full Version : Resuming completed files causes .bad file


eger
12-19-2005, 11:04 PM
Couldn't find any info on this. I'm having a problem with users who are sending files at the same time and then one user tries to resume a file that was finished by another user. The file is already complete so it doesn't resume anything. But for some reason this casues the file to become a .bad file. When removing the .bad from the file and checking the sfv manually though, the file is fine.

What could be causing this to happen (if it isn't the resuming, which i think it might be) and is there any way to prevent it? Was looking around for a script that might make use of OnResume. But have not found one.

Harm
12-20-2005, 08:07 AM
What version of ioBanana are you using ?
I wouldn't allow overwrite and resume if I were you. They're known to cause problems with crc checking.

eger
12-20-2005, 12:18 PM
Using ioB2 with most of the fixes from the fixes thread. I would like to disable overwrite and resume. But i'm not sure how. The files ARE chmod 644 and chowned to one user. Shouldn't this stop another user from resuming on the file when in use?

Harm
12-22-2005, 04:58 AM
Try to set these permissions in ioFTPD.ini too.

[VFS]
(snip)
Resume = * !*
Overwrite = * !*
(snip)