Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 16044

VS 2019 CopyFile over VPN failing

$
0
0
Hi there,

I have an application that copies files from our in office server to our in office client machines using:

vb Code:
  1. My.Computer.FileSystem.CopyFile()

This has been working fine, due to COVID and the increased number of people working from home, they are using the same application over a VPN.

We are having an issue occasionally with a couple of user and I think it is down to them having intermittent internet drops. At the point of a drop out during the above CopyFile process it fails. Is there a way like with an FTP transfer to keep that connection alive in case of drop outs?

I tried adding some of the additional arguments, but the problem still persists:

vb Code:
  1. My.Computer.FileSystem.CopyFile(CopyFrom, CopyTo, FileIO.UIOption.OnlyErrorDialogs, FileIO.UICancelOption.DoNothing)

Any help or suggestions on this would as always be greatly appreciated.

Thank you.

Viewing all articles
Browse latest Browse all 16044

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>