ayok Posted May 14, 2012 Share Posted May 14, 2012 Hi, I have a question about uploading large files to webserver. It takes always long time to upload files like joomla! or magento site through FTP like filezilla which can have more than 10000 files. Is there any faster way to do this? Thanks, ayok Quote Link to comment https://forums.phpfreaks.com/topic/262512-faster-way-to-upload-files/ Share on other sites More sharing options...
smoseley Posted May 14, 2012 Share Posted May 14, 2012 Only thing faster would be to SSH into the server and download directly to the box from the source with wget. That's how I usually do it. Quote Link to comment https://forums.phpfreaks.com/topic/262512-faster-way-to-upload-files/#findComment-1345301 Share on other sites More sharing options...
ayok Posted May 14, 2012 Author Share Posted May 14, 2012 Hi.. thanks smosely. But I don't really understand your explanation. I need to install SSH in the server? Quote Link to comment https://forums.phpfreaks.com/topic/262512-faster-way-to-upload-files/#findComment-1345304 Share on other sites More sharing options...
smoseley Posted May 14, 2012 Share Posted May 14, 2012 No, SSH is a protocol for connecting to the server remotely (Secure Shell). You use an SSH client (like putty, if you're on windows, or a Mac terminal if you're on a mac) to connect to your server from your workstation. then you use wget to download the file from command line. Quote Link to comment https://forums.phpfreaks.com/topic/262512-faster-way-to-upload-files/#findComment-1345454 Share on other sites More sharing options...
The Little Guy Posted May 14, 2012 Share Posted May 14, 2012 login to your web server via putty (Windows) or terminal (Linux/Mac). in your home dir cd ~ Download the file wget http://wordpress.org/latest.zip next unzip the files to your webserver unzip latest.zip -d ~/www/mysite.com Quote Link to comment https://forums.phpfreaks.com/topic/262512-faster-way-to-upload-files/#findComment-1345462 Share on other sites More sharing options...
xyph Posted May 14, 2012 Share Posted May 14, 2012 It you don't have shell access... Upload the zip'd file to your web server Create a PHP script that uses PHP's zip functions to extract to the directory of your choice http://php.net/manual/en/book.zip.php Quote Link to comment https://forums.phpfreaks.com/topic/262512-faster-way-to-upload-files/#findComment-1345468 Share on other sites More sharing options...
ayok Posted May 15, 2012 Author Share Posted May 15, 2012 Oh... yes of course... thanks all!! Quote Link to comment https://forums.phpfreaks.com/topic/262512-faster-way-to-upload-files/#findComment-1345537 Share on other sites More sharing options...
scootstah Posted May 15, 2012 Share Posted May 15, 2012 It you don't have shell access... Upload the zip'd file to your web server Create a PHP script that uses PHP's zip functions to extract to the directory of your choice http://php.net/manual/en/book.zip.php And if you have CPanel you can use the File Manager to uncompress zip files. Quote Link to comment https://forums.phpfreaks.com/topic/262512-faster-way-to-upload-files/#findComment-1345602 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.