Using configured transfer settings different from factory defaults. Unknown switch 'transfert'.
hi team,
when trying to dowlod multiple file from a remote sftp server on a scipt file i get this error.
Using configured transfer settings different from factory defaults.
Unknown switch 'transfert'.
here is my log :
here is my script :
when trying to dowlod multiple file from a remote sftp server on a scipt file i get this error.
Using configured transfer settings different from factory defaults.
Unknown switch 'transfert'.
here is my log :
E:\UVAREC\temp>E:\winscp577\winscp sftpvel/downloads /hostkey="*" /command "get -delete -transfert=binary order-*.zip \\mynas\interfaces\vel\paniers\" "EXIT" Opening session using command-line parameter in scripting is deprecated. Use 'open' command instead. Searching for host... Connecting to host... Authenticating... Using username "myusername". Authenticating with public key "imported-openssh-key". Authenticated. Starting the session... Session started. Active session: [1] sftpvel Using configured transfer settings different from factory defaults. Unknown switch 'transfert'. E:\UVAREC\temp>if 1 NEQ 0 goto FIN_ANORMALE
here is my script :
%winScpDir%\winscp %sftpServer% /hostkey="*" /command "get -delete -transfert=binary %filetoreceive% %nasToReceive%\" "EXIT" if %errorlevel% NEQ 0 goto FIN_ANORMALE