Can I upload more than 1 file at a...

User 362068 Photo


Registered User
5 posts

Is there any way to set DirectFTP to upload more than 1 files at a time?. It's really frustrating having to upload a whole site (100+ files) when the program will only upload a file and it won't start with the next one until it's done with the previous file... it just queues the rest, and uploads one by one. Annoying...
User 187934 Photo


Senior Advisor
20,181 posts

You can zip them up then use a php script to unzip them once the file is up loaded.:)
This will not work on S-Drive.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 464893 Photo


Ambassador
1,611 posts

Example:
Name this unzipper.php or something, place in same directory as zip archive. Point the browser at this file and it will extract. This is a standard php example found everywhere on the net no magic involved.

<?php
$zip = new ZipArchive;
$res = $zip->open('Zipfile.zip');
if ($res === TRUE) {
$zip->extractTo(dirname(_File_));
$zip->close();
echo "OK > Extracted";
} else {
echo "FAILED";
}
?>


This will not work on S_Drive as no php files are allowed to be uploaded as yet. But I believe there will be something along these lines available in the future with S_Drive. Keep watching.
The Guy from OZ



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.