Creating a webpage. How do I allow for file uploading to a FTP thru a browser

imported_Rampage

Senior member
Jun 6, 2005
935
0
0
What would I use to do this? I dont want a browser-based FTP browser. I've found those.

What I'm looking for is a script or whatever I need, to allow people to upload files.. but never delete them. They would have to go to the FTP location to delete it.

I need a way to allow anyone to upload a file to a FTP location from a webpage, but also (after uploaded) allow people to have a list of working links to those uploaded files.
To edit the files, they would have to open the file up from the link on the page (or directly from the FTP location of course) and resave it.

I hope to set the permissions to the files as far as editing on the FTP server.

I just need a way to allow people to upload thru the web browser to the FTP, then have links to every file that has been uploaded.

Thank you. I hope my description has been clear. I dont know if I need a perl script for this, or some kind of basic HTML file uploading.
This is new territory for me!
 

Thyme

Platinum Member
Nov 30, 2000
2,330
0
0
You can use any upload method (Perl, PHP, whatever), and just have it upload to the same path as the FTP. As long as it's on the same server, you don't want to mess with trying to have your web server act like an FTP client.
 

timswim78

Diamond Member
Jan 1, 2003
4,330
1
81
go to hotscripts.com, and you can search through their free scripts to find one that will do this for you with PHP, Perl, etc.
 

imported_Rampage

Senior member
Jun 6, 2005
935
0
0
Originally posted by: Thyme
You can use any upload method (Perl, PHP, whatever), and just have it upload to the same path as the FTP. As long as it's on the same server, you don't want to mess with trying to have your web server act like an FTP client.

It is on the same server. I took a look at some scripts and havent found one that does what I'm looking for.

Just a simple upload, then result in a list of what has been uploaded to that directory on the FTP.
 

Thyme

Platinum Member
Nov 30, 2000
2,330
0
0
As timswim78 suggested, hotscripts.com should have info for you. I've also used the documentation on the php web site (php.net) and have found it quite easy. Going through a directory is really easy, too, but be aware that it's a different process for PHP4 and PHP5.