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

desmondkan

Is it possible to disable the "encrypt new file" feature when loading files to a SFTP via PS Script

got it. thanks for sharing the info.

I will give it a try ... thanks Martin :)
desmondkan

Is it possible to disable the "encrypt new file" feature when loading files to a SFTP via PS Script

yes, I noticed it has "encrypt new file" feature as a default option. I also know it has nothing to do with PGP files. My situation is that I use PowerShell script to initiate winscp to do the upload and my question is it possible to disable "encrypt new file" in the powershell script so winscp will do the job without the feature of "encrypt new file" ?
martin

Re: Is it possible to disable the "encrypt new file" feature when loading files to a SFTP via PS Script

I'm not sure I follow. WinSCP indeed has "Encrypt new files" option:
https://winscp.net/eng/docs/ui_transfer_custom
But that has nothing to do with PGP. Can you explain the relation to PGP?
desmondkan

Is it possible to disable the "encrypt new file" feature when loading files to a SFTP via PS Script

as subject.

I have a powershell script that does the upload some pgp files to a SFTP site. the other party is having issues to open the pgp files and I noticed the winscp does "encrypt new file" by default. My question ... is it possible to disable the feature of "encrypt new file" in the powershell script? i believe there are some switch or command lines that I can specify in the powershell to disable it ?

my winscp version is 5.17.1 (build 10240).

Thanks for your help in advance.
-d