I need a little direction with a project that some of you have probably already done. I need to create an upload form on our website that will give our customers the ability to upload a file to our existing FTP site. The current method of the customer simply dragging and dropping files via web browser is causing too many headaches.
The form should include the following:
a file directory field (showing the path to the file on their local computer)
a browse button (to select the file from their computer)
a submit button
their login and password needs to pass to our FTP server so that their files are dropped in their own folders (Each customer has their own folder.)
a notification sent via email that the file has been uploaded.
I would greatly appreciate any advise, code or links you can offer on this one.
What I have done is created FTP user-accounts through my web-hosting back-end. I restrict all uploads to a specific folder so that I can scan them prior to moving the file to public download folder.
Information: You can create as many FTP user accounts as you like through your web-hosting provider. Each account can be set to point to a specific folder by default. Each account can also be restricted to that specific folder only.
I am sure there are other methods but this is the method I chose.
Wage
"Everyone has to get knocked-down every once-in-a-while, otherwise you'll never learn how to get-back-up!
" A quote attributed to my Grandpa Wagers
Wage, we have been using FTP for years though its use started out minimal. Recently, it is being used more and more heavily. With that use comes a lot of headaches that I think can be alleviated with request in my OP. We have always used individual logins and unique (separate) folders for each customer. This keeps customers from seeing other customer's files.