Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'll explain it:

I got apache installed on my Linux Ubuntu and i need to upload some big files and I want to make it available to download only when the transfer done.

it's possible to do it?

share|improve this question
    
stop the apache? User's download is your upload so just stop the apache then – bakytn Jan 27 '12 at 1:34
up vote 1 down vote accepted

Upload it under a user's account that Apache can't access and then chown OR upload it to a temp dir and mv it into place?

share|improve this answer
    
yes it will work, thanks. but maybe i could do it with some httpd.conf or on ubuntu. – MrMissaya Jan 27 '12 at 1:50

You can use a PHP script (or similar device) that only permits a file to be seen or downloaded if it hasn't been modified for at least a minute.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .