File Upload
-
Hi, My requirement is to do a file copy (upload) from my machine to a remote machine (Mapped Drive) both windows and at the same time I want the file copying logic should completely reside on my machine, I donot require peer2peer. Is their any way to do that, help kindly appreciated. The Phantom.
-
Hi, My requirement is to do a file copy (upload) from my machine to a remote machine (Mapped Drive) both windows and at the same time I want the file copying logic should completely reside on my machine, I donot require peer2peer. Is their any way to do that, help kindly appreciated. The Phantom.
You can use two
FileStream
s. One for reading from the source file and the second for writing to the mapped drive. Have a look atSystem.IO.File.OpenRead
andSystem.IO.File.Create
for getting the streams.