Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.