how can you copy a file over network

mghilan

New member
Joined
Apr 27, 2009
Messages
1
Programming Experience
5-10
I am working on project to copy some files from many PCs to my Computer
I made this code
VB.NET:
FileSystem.FileCopy("\\RemotePC\C$\Dir\File.txt", "C:\file.txt")
the problem is that every PC has an own username and password so this code doesn`t work
Is there any way to write the username and password when i use sharing folder
 
Back
Top