.net - Put method for a Byte Array

Advertisement

jsteeleATsaxony
Joined:
Posts:
2

.net - Put method for a Byte Array

Thoughts on creating a Put method that accepts a byte array instead of a file path?

Something like...
public TransferOperationResult Put(byte[] data, string remoteFileName, string remotePath, TransferOptions options = null)

The data I am working with is an in-memory byte array and my environment does not have good place to store temporary files. So keeping everything in memory would be ideal.

Thanks,Justin

Reply with quote

Advertisement

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

Re: .net - Put method for a Byte Array

It's not that easy. WinSCP .NET assembly is a wrapper around WinSCP scripting.
It's not really intended for uses like yours.

Reply with quote

Advertisement

You can post new topics in this forum