Das hauptsächliche Problem ist der Unterschied wie es Wiese erklärt hat 1 zu 33xx dateien.
Wenn Du ein Archiv hoch lädst zählt das als eine Datei. Wenn Du aber jede einzelne hochlädst sind es eben über 33xx und dann passiert mit jeder Datei das folgende (Erklärung aus dem Netz):
FTP-Uploads vieler kleiner Dateien dauert sehr lang
Nach jedem FTP Upload einer Datei wird überprüft, ob der Transfer erfolgreich ausgeführt werden konnte. Der FTP-Server sendet einen Status zurück und das "drückt" die Transfergeschwindigkeit. Manchmal werden gerade 10% der verfügbaren Bandbreite erreicht.
Mit unten angehängtem Script, welches Du Dir in eine Textdatei kopierst und als Dateiname.php abspeicherst ist es Dir möglich auf dem Server ein Zip Datei auszuwählen welche entpackt werden soll (Musst Du natürlich vorher auf deinem Rechener erstellen und hochladen).
A PHP script to unzip files with file overwriting (Quelle des Scripts/Screen Shot)
PHP-Code:
<?php
// The unzip script
// Created by Alex at http://www.learncpp.com
//
// This script lists all of the .zip files in a directory
// and allows you to select one to unzip. Unlike CPanel's file
// manager, it _will_ overwrite existing files.
//
// To use this script, FTP or paste this script into a file in the directory
// with the .zip you want to unzip. Then point your web browser at this
// script and choose which file to unzip.
// See if there's a file parameter in the URL string
$file = $_GET['file'];
if (isset($file))
{
echo "Unzipping " . $file . "<br>";
system('unzip -o ' . $file);
exit;
}
// create a handler to read the directory contents
$handler = opendir(".");
echo "Please choose a file to unzip: " . "<br>";
// A blank action field posts the form to itself
echo '<FORM action="" method="get">';
$found = FALSE; // Used to see if there were any valid files
// keep going until all files in directory have been read
while ($file = readdir($handler))
{
if (preg_match ("/.zip$/i", $file))
{
echo '<input type="radio" name="file" value=' . $file . '> ' . $file . '<br>';
$found = true;
}
}
closedir($handler);
if ($found == FALSE)
echo "No files ending in .zip found<br>";
else
echo '<br>Warning: Existing files will be overwritten.<br><br><INPUT type="submit" value="Unzip!">';
echo "</FORM>";
?>
Wenn Du nun z.Bsp. eine Gallerie hast von welcher alle Bilder auf den Webserver müssen machst Dir die entsprechende Struktur auf Deiner Festplatte und erstellst von dieser ein Zip File. Dann Hast nur eine Datei zum hoch laden. Allenfalls dann noch die Rechte anpassen und fertig.
So kannst auch mal in der Not eine RC Version von Contao Testen. Archiv lokal vorbereiten und dann in einem Archiv hoch laden.
Viel sinnvoller natürlich mit Contao2go (eine RC Version testen). Da machst solche Sachen Lokal auf dem PC.
das ganze "as it is" ... keine Garantie ;-) und schon gar kein Support per PM!
Technisch genug die Antwort?
Lesezeichen