Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

RLO

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 :

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