RBygrave
I have run into some other issues while upgradig some of our legacy code.
I used to do stream based operations rather than direct file IO.
Here is a snipit of the original code
public MemoryStream GetFile(string _fileName)
{
MemoryStream IN_Stream = new MemoryStream();
ftpIN.CloseStreamsAfterTransfer = false;
ftpIN.DownloadStream(IN_Stream, _fileName);
return IN_Stream
}
In the new libary I don't see the replacements for the stream operations. What would be the replacement functions for this?
Thanks in advance
I used to do stream based operations rather than direct file IO.
Here is a snipit of the original code
public MemoryStream GetFile(string _fileName)
{
MemoryStream IN_Stream = new MemoryStream();
ftpIN.CloseStreamsAfterTransfer = false;
ftpIN.DownloadStream(IN_Stream, _fileName);
return IN_Stream
}
In the new libary I don't see the replacements for the stream operations. What would be the replacement functions for this?
Thanks in advance