Commit 3a1c6ab4 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 11e79fc0
......@@ -910,7 +910,10 @@ class Media {
}
echo $this->Console->getColoredString("Coverdownload > Upload auf FTP Server", "black", "light_gray") .PHP_EOL;
shell_exec("sh ~/MediaDBPythonScripte/coversync.sh");
$SFTP_SERVER="192.168.0.32";
$SFTP_USER="nico";
$SFTP_PWD="1nico2%";
shell_exec("lftp sftp://$SFTP_USER:$SFTP_PWD@$SFTP_SERVER -e 'mirror --reverse ~/MediaDBPythonScripte/cover /var/www/mediadb.ivaya.de/MediaDBViewerAPI/cover; bye'");
echo "Done!".PHP_EOL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment