chefe321
Goto Top

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

Content-Key: 514157

Url: https://administrator.de/contentid/514157

Printed on: April 19, 2024 at 21:04 o'clock

Member: SlainteMhath
SlainteMhath Nov 12, 2019 at 08:28:37 (UTC)
Goto Top
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.Ä.
Member: Chefe321
Chefe321 Nov 12, 2019 at 12:53:22 (UTC)
Goto Top
Ja, vielen Dank für deine Antwort. Ich werde es mal damit probieren