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

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -