View Single Post
Old 08-31-2003, 05:27 PM  
Mouton
Posse Member
 
Join Date: Dec 2002
Posts: 1,956
Default How to catch STOR filename errors ?

[23:57:54] STOR 08.rar
[23:57:54] 550 08.rar: No such file or directory.
[23:57:54] Transfer Failed!

How can I catch those ?
I have an event in [Pre] STOR, and I would need to undo what it has done if the STOR doesn't start. OnUploadError event isn't called :\

The [Pre] STOR event is used to prevent two users from overwriting each other if "SIZE filename" return 0 but the file was already started by someone else (dark said it's because of OS disk caching).

Any idea ?
Mouton is offline