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

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

python - Django-easy-pdf: xhtml2pdf reporting reportlab 2.2+ is required, but 3.0 installed -

collision detection - C++ library for mesh to mesh intersection: what is available? -