I have to understand how a file hosting website works... So I need your help

http://i.stack.imgur.com/zxTc6.png

How can we upload file directly to the hosting server without access ?

How is it possible to make link exist just for 10 minutes ?

Could you explain step by step what is really going on... ?

Thank you very much

link|improve this question
1  
How about you tell us what you think is happening, where you're stuck, and ask a specific question. Then we can tell you whether you're on the right track or not. We're all for helping out, but we're not going to do your job/homework/assignment for you. – Mark Henderson Feb 5 at 20:55
It is not clear to me what exactly you're trying to do. From what I understand you want to upload a file directly to your hosting server? Do you have FTP or PHP on the server ? – tftd Feb 5 at 20:55
feedback

closed as not a real question by ErikA, SvenW, Tim Brigham, jscott, John Gardeniers Feb 5 at 21:53

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. See the FAQ for guidance on how to improve it.

1 Answer

Your question is a bit tooo basic, but okay.

How can we upload file directly to the hosting server without access ?

You can't, your PHP script (or Python, Ruby,P Perl, etc.) needs the rights to write in a given directory.

How is it possible to make link exist just for 10 minutes ?

There is more than one way to do this, you could for example include a timestamp in the url to check if the link is valid (less db querys, better performance), or just save the links to an database with timestamp. What you need in both solutions is a script that takes your URL and returns a file.

Wanna build the next megaupload? :D

But it's a bit hard to answer your questions, because I (we) don't know where you have problems.

link|improve this answer
I don't really have a problem... I just try do understand how this all work... nginx, x-progress-id, servers, ... It's a bit complicated and I try to figure all this out... – anasbud Feb 5 at 21:08
feedback

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