English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

How can people other that me upload files to my website so that other people can download them?

2007-09-27 13:47:03 · 3 answers · asked by bboy2093 1 in Computers & Internet Programming & Design

3 answers

The safest way is to get FTP hosting from your ISP. If that's not a possibility, you can do it via HTML and some server-side scripting. This site gives a tutorial on how to do it using PHP: http://www.tizag.com/phpT/fileupload.php

Be very aware of the potential for abuse in this sort of activity. You can't just let people upload to your web space or you'll get hacked bad - someone will upload a script that gives them access to your server. Even with proper isolation, you can lose your account and possibly get in legal trouble if the file volume gets too big or if you're hosting copyright violations.

2007-09-27 14:31:59 · answer #1 · answered by injanier 7 · 0 0

Check out c-panel if that is what you are using create an anonomys FTP account but make sure that you create a folder for this activity make sure that there is no access to your other files or you will be hacked really fast.
Good Luck,
Big "D'

2007-09-27 13:55:33 · answer #2 · answered by Big "D" 1 · 0 0

You need an HTML form of enctype="multipart/form-data" and an input of type="FILE". Your script, if PHP, would use the $_FILES superglobal array to retrieve them (see php.net). Doing it in C is much more low-level and involves looking for MIME boundary strings in the POST data (stdin stream).

2007-09-27 14:21:53 · answer #3 · answered by Anonymous · 0 0

fedest.com, questions and answers