Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
Option Explicit Dim NetFile As String Dim HDFile As String Sub main(HDFile As String, NetFile As String) On Error GoTo Errtrap FileCopy NetFile, HDFile Exit Sub Errtrap: Select Case Err Case 91 ' not set Resume Next Case 53 ' file not found Resume Next Case Else MsgBox Err & " " & Err.Description End Exit Sub End Select End Sub Private Sub Form_Load() NetFile = "\\files\users\andy\temp\Test.bak" HDFile = "c:\temp\test.bak" main HDFile, NetFile End End Sub
Join the community of 500,000 technology professionals and ask your questions.