Post a reply

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

martin

CraigHylton wrote:

the encryption field that's in the advance setting within the login screen is missing. the file will not decrypt once encrypted. According to research that encryption has to be turn on in this field for the files to be decoded! Can you tell me why that field is missing

See EncryptKeyPlain:
https://winscp.net/eng/docs/rawsettings

Easier is to have WinSCP GUI generate the script template for you:
https://winscp.net/eng/docs/ui_generateurl#script
CraigHylton

the encryption field that's in the advance setting within the login screen is missing. the file will not decrypt once encrypted. According to research that encryption has to be turn on in this field for the files to be decoded! Can you tell me why that field is missing
martin

Re: decryption

Sorry, that's too vague.
What is "garbage"? How do you expect the files to look like instead? Do you have any reason to believe that the files were modified by WinSCP? did you make sure that WinSCP uses the binary mode? Why do you use get followed by put?
CraigHylton

decryption

Got the authentication done on the batch script ran the script but when the files were copied from the sftp server to the desired server the files were garbage. What do I need to do decrypt the file. syntax "get *.*" "Put '//server/e$/file path/*.*'"
martin

Re: Keyboard authentication Error

Can you authenticate to the server anyhow? Using WinSCP GUI? Using any other SSH/SFTP client?
CraigHylton

Keyboard authentication Error

I tried to log into the winSCP.com on the command prompt but when prompted to enter the password I get this: Access denied.
Using keyboard-interactive authentication.
How do I get pass this stage