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
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
Please also mark the comments that contributed to the solution of the article
Content-ID: 514157
Url: https://administrator.de/forum/fortschrittanzeige-beim-ftp-uload-514157.html
Printed on: May 13, 2025 at 07:05 o'clock
2 Comments
Latest comment
Moin,
Fortschritts anzeige im CLI Client wüsste ich jetzt nicht. Evtl. das hier : https://www.ftp-commands.com/file-transfer-protocol/hash/ oder du nimmst ein anderes Tool wie z.b. wput o.Ä.
Fortschritts anzeige im CLI Client wüsste ich jetzt nicht. Evtl. das hier : https://www.ftp-commands.com/file-transfer-protocol/hash/ oder du nimmst ein anderes Tool wie z.b. wput o.Ä.