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

Re: .NET assembly question

lhofinger wrote:

Is it possible to use the new encryption feature?

It is. You need to set EncryptKeyPlain raw session setting:
https://winscp.net/eng/docs/rawsettings#encryptkeyplain

WinSCP GUI can generate a code template for you:
https://winscp.net/eng/docs/ui_generateurl#code

Is it possible to get/put one file to/from a Stream (instead of a local file on disk)? (I would like to put a file from a database without writing it first on disk).

No it is not possible.
EDIT 2022: It's possible now:
https://winscp.net/eng/docs/library_session_getfile
https://winscp.net/eng/docs/library_session_putfile
lhofinger

.NET assembly question

Hello Martin,
I've two questions about the .NET assembly :

  1. Is it possible to use the new encryption feature?
  2. Is it possible to get/put one file to/from a Stream (instead of a local file on disk)? (I would like to put a file from a database without writing it first on disk).

Regards,
Laurent