Java script for ftp access

They have: 4 posts

Joined: Jan 2003

I am working on a project that needs the ability to upload and download files ranging from 70mb to a full cd (700mb). I have worked other angles ie: PhP scripts, ect. The problem I ran into was the file size. This site needs to be simple to operated on both ends, my client and his clients. I understand working via a browser with this size file, the browser would time out. I have been pointed to FTP usage, and was told java script maybe a possiblity instead of each client using an ftp client software. The major problem with uploading with a ftp client, it would create a second step - an email would have to follow to make the other party aware of new file pending. Besides the fact that each client would have to purchase and understand an ftp client software.

Just looking for the best options. Thanks for you help.

Rob

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

JavaScript isn't going to help you as it can't talk to the server.

What you can do if you're going to use FTP is have a script running at a specific time that reads the names of all the files in various directories and compares it to a list (in a db or otherwise), then sends an email if there is a change.

Quite seriously, with files that size, you should more likely get to know your courier company. You can have the smaller files controlled through a web interface, then courier the final product, produced at your end.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.