View Single Post
Old 04-18-2007, 10:23 AM  
Yil
Too much time...
 
Join Date: May 2005
Posts: 1,194
Default

pion: I'm pretty sure that's a bad idea... First off, it IS possible to download a file being uploaded right now. Tuff's solution shows you a way to see the file right away in a listing, but you could always access it by name or see it if the directory was being modified such as by another racer.

More importantly however is the fact that the file isn't complete. If you download faster than the sender you will hit the end of the file and think you got the whole thing. That's not good. The uploaded file won't have been crc verified yet, but that's not a big deal. What might be a big deal is if a zipscript mucks with the file itself by stripping out comments or NFOs. Now it either won't be able to do this while your reading the file or it will and you'll get a corrupted file...

In theory the file should be locked from the start of an upload until all events complete. That's not done today though...
Yil is offline