I am working on a C# project that captures jpeg image from a camera, convert it to BMP on stream, rename and publish it to SFTP as an image file. I am using Renci.SSHNET library that handles SFTP part.
I am struck converting the memory stream to an image file before posting it to SFTP. Is there a way that solves my problem? Thanks in Advance.
PS - I prefer not to store the file to local and re-process it to SFTP.