chefe321

Fortschrittanzeige beim FTP-Uload

Hallo,

ich würde gerne in meiner Batch zum FTP-Upload eine Fortschrittsanzeige zum put-Befehl hinzufügen
Sodas man sieht wie weit der Upload ist.
hat jemand eine Idee??
Der aktuelle Source lt. wie folgt':

set "FTPSERVER=ftp.server.com"

set "FTPUSER=USER

set "FTPPASS=PASS

set "ORDNER=/users/USER
pushd "c:\Backup"
set "commandfile=%temp%\remotecommands.txt"
echo %FTPUSER%>"%commandfile%"
echo %FTPPASS%>>"%commandfile%"
echo prompt>>"%commandfile%"
echo cd %ORDNER%>>"%commandfile%"
echo put backup.zip>>"%commandfile%"
echo quit>>"%commandfile%"

ftp -s:"%commandfile%" %FTPSERVER%

del "%commandfile%" >nul

popd
Auf Facebook teilen
Auf X (Twitter) teilen
Auf Reddit teilen
Auf Linkedin teilen

Content-ID: 514157

Url: https://administrator.de/forum/fortschrittanzeige-beim-ftp-uload-514157.html

Ausgedruckt am: 07.07.2025 um 21:07 Uhr

SlainteMhath
SlainteMhath 12.11.2019 um 09:28:37 Uhr
Moin,

Fortschritts anzeige im CLI Client wüsste ich jetzt nicht. Evtl. das hier : ftp-commands.com/file-transfer-protocol/hash/ oder du nimmst ein anderes Tool wie z.b. wput o.Ä.
Chefe321
Chefe321 12.11.2019 um 13:53:22 Uhr
Ja, vielen Dank für deine Antwort. Ich werde es mal damit probieren