开发者

Using vb.net to copy a file from Windows XP to Linux

开发者 https://www.devze.com 2023-03-03 13:42 出处:网络
I have some simple vb.net code that I use to copy a file between 2 servers. IO.File.Copy(fromFileName, toFileName, True)\' Overwrites existing files

I have some simple vb.net code that I use to copy a file between 2 servers.

IO.File.Copy(fromFileName, toFileName, True) ' Overwrites existing files

That works fine when 开发者_JS百科both machines are Windows XP.

What would I need to do differently if 1 of the machines happens to be a LINUX box?


One way is to create a Windows-compatible network share using Samba on the Linux machine. This share can be made accessible to Windows using a standard network path.

0

精彩评论

暂无评论...
验证码 换一张
取 消