homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

Need A File Upload Script Recommendation

 12:40 pm on Apr 4, 2007 (gmt 0)

I need to source a file upload script that can connect to a third-party ftp server. I've been looking at php-based apps, but all of them are designed to upload the file to a directory on the same server where the script is hosted.

Also, I'm looking for a simple file upload interface not a full, php ftp client. Basically I only want site visitors to upload files, not be able to browse a directory structure or see any other files that have been uploaded.

Does any script readily come to mind?

Thanks for any suggestions.




 1:45 pm on Apr 5, 2007 (gmt 0)

Why not run the script as intended and then run a cron job to FTP or rsync the files to the other server?


 1:48 pm on Apr 5, 2007 (gmt 0)

bill's thought is probably best

if you are using one server to upload to another then you are going to have to upload to the first server and then push it to the other server. If you don't fully control the other server then you are looking at ftp functions which means you probably will have close to a full blown ftp client.

The logic of what you are trying to do makes standard upload scripts useless and full ftp clients overkill. You should probably rethink your logic a bit, you will probably need to adjust what you are trying to do or at least step it out to do it differently.


 6:42 pm on Apr 5, 2007 (gmt 0)

The site in question is currently on a shared server which restricts how large an uploaded file can be. (I've tried adjusting this with custom php.ini files but the restriction seems to hold).

The files in question could be fairly large, so I thought of using a third-party file host. I can use a web-based php app, but as you mentioned that would be overkill...

I actually found something that works but it's a java application and I'm not 100% happy with forcing some users to install the JRE.

Any other thoughts?



Global Options:
 top home search open messages active posts  

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved