Jump to content

PHP FTP multiple files upload help


superkingkong

Recommended Posts

hi guys,

 

i'm trying to look for a php ftp script that can upload multiple files to my site.

 

currently, i'm using the php / perl to upload, but when trying to upload large files, i get http error page that most ppl are having... it's something to do with the httpd.conf timeout error, which i can't change, because my site is hosted on a shared server.

 

i'm trying to upload multiple image files, eg, 5mb each file...about 10of them each time.. so, it should be 50mb total each time. sometimes it's successful, probably the connection is fast, but most of the time, i get an http error page, due to connection slow.

 

would appreciate if someone could give me some pointer on this php ftp upload.

 

btw, i'm new to php :P

 

thank you very much :)

Link to comment
https://forums.phpfreaks.com/topic/134053-php-ftp-multiple-files-upload-help/
Share on other sites

Im not sure about FTP, how would you select a file from the local computer for PHP FTP to your webserver?

Ive used FTP functions before but for sending files to a second webserver directly from the host webserver.

Can you not override the timeout directive in a .htaccess file. Shared hosting is pants!

yes, i've seen quite a few of them, but they can only upload 1 file at a time. if my user needs to upload 100 files, they will have to click and wait for 100 times...

 

i've read somewhere, the timeout directive can't be changed in .htaccess... well, maybe someone here might have a more accurate information.

 

as for zipping up... it's also an options, but to zip 100 files is a pita  :(

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.