.NET assembly question

Advertisement

lhofinger
Donor
Joined:
Posts:
5

.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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,415
Location:
Prague, Czechia

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

Reply with quote

Advertisement

You can post new topics in this forum