Reply to Re: Securely serving files

Your name:

Reply:


Posted by Nicholas Sherlock on 02/12/06 02:31

Jasen Betts wrote:
> if it's a *nix server make a link instread of a copy of the file it's much
> faster, and uses much less disk space.

The Symlink() command? Awesome!

> Store the names and delete any that have been sitting there for more than 30
> seconds, or spawn a background script that sleeps for 30 seconds and then
> deletes the copy.
>
> With unix the download will continue even after the file is no longer present
> windows will ( I think) give an error and not delete the file so you'd have
> to find a way to detect that, sleep again, and retry.

I'm on Unix. Thanks, this is an excellent solution.

Cheers,
Nicholas Sherlock

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация