vb.net - File Transfer over ip in vb -
in visual basic there function called file copy
filecopy(source,destination)
is possible copy computer on ip? ex:
filecopy("c:\user\name\desktop\test.txt",//192.168.x.x)
if yes correct syntax?
you need specify unc path correctly, example:
filecopy("c:\user\name\desktop\test.txt","\\192.168.x.x\c$\user\name\desktop")
also it's better use file.io.copy instead of old vb6 syntax.
Comments
Post a Comment