K
K Viltersten
I've downloaded a file from an FTP server and
using WebRequestMethods.Ftp.DownloadFile and the
result is, i guess, a file. However, the response is
of type FtpWebResponse and as such only have a method
for obtaining a Stream object only...
I'd like it to respond with an object of type File or
FileInfo, maybe, directly. Is it doable? Or is the
best way to do that simply using FileWriter?
using WebRequestMethods.Ftp.DownloadFile and the
result is, i guess, a file. However, the response is
of type FtpWebResponse and as such only have a method
for obtaining a Stream object only...
I'd like it to respond with an object of type File or
FileInfo, maybe, directly. Is it doable? Or is the
best way to do that simply using FileWriter?