Am working on a project that requires uploading xml file to remote FTP site.
Is it possible to save xml string from memory to remote FTP site? … from what i see i have to first write the file to local disk then read from disk and FTP to remote site.
I am using c#.
Thank you.
It’s perfectly possible to use a MemoryStream instead of a FileStream to “write” data to an FTP server.
From the top of my head: (just a snippet of code, I asume you have the FTP stuff already)
In other words, you simply need a stream, doesn’t matter if it’s a FileStream or MemoryStream