|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
FTP-like upload
Hi.
I want to add an upload possibilty to my site. But I want the upload to look and work as an FTP. I´ve seen this on a few other sites, but I have no idea how to do it. Any suggestions? |
|
#2
|
|||
|
|||
|
I don't think you can actually do what your hoping to. The best way to do this (IMHO) is to use the standard file upload functions of HTTP + PHP (see http://www.php.net/manual/en/features.file-upload.php) and then move the files using php filesystem functions (http://www.php.net/manual/en/ref.filesystem.php) or the move_uploaded_file() function to a directory within your ftp site. From here people can either view the uploaded files with their ftp client, or using a web based interface to view the ftp site (for the ftp functions within php see http://www.php.net/manual/en/ref.ftp.php)
Hope that answers your question |
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > FTP-like upload |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|