找不到网络补丁vb.net

时间:2016-08-31 06:00:22

标签: asp.net vb.net

我尝试复制服务器文件夹中的文件时遇到问题。我的代码上周工作得很好,但是没有出现这样的错误:

enter image description here

我的代码是:

FileToCopy = strfilePath
NewCopy ="\\artfs02\07_ART_ECO\12_Samples\03_Samples_order\01_Samples_BOMs_&_DRW\" & strFileName

...

Try
                If System.IO.File.Exists(FileToCopy) = True Then
                    System.IO.File.Copy(FileToCopy, NewCopy, True)
                Else
                    LBL_ERR.Text = "There is no file to be copied !"
                    GC.Collect()
                    Exit Sub
                End If
            Catch ex As Exception
                LBL_ERR.Text = "Failed to replace file! Parts were booked from Warehouse !"
                GC.Collect()
                Exit Sub
            End Try

0 个答案:

没有答案