homepage Welcome to WebmasterWorld Guest from 204.236.254.124
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
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
jlr1001




msg:3302020
 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.

-jlr1001

 

bill




msg:3303198
 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?

jatar_k




msg:3303203
 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.

jlr1001




msg:3303569
 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?

Thanks,

-jlr1001

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