请教:
Dim ftp1 As new ftpclient
ftp1.host="ftp.*********:2121"
ftp1.Account = "******"
ftp1.password = "******"
If ftp1.FileExists("db/VI/订单.mdb") = False Then
MessageBox.Show("还未上报今天数据","提示")
Return
End If
ftp1.Download("db/VI/订单.mdb","D:\new\订单.mdb") '下载ftp上的上报文件
ftp1.Delete("db/VI/订单.mdb") '下载成功后删除ftp上的上报文件.
提示500错误:
.NET Framework 版本:2.0.50727.4971
Foxtable 版本:2012.9.29.1
错误所在事件:
详细错误信息:
System.Net.WebException: 远程服务器返回错误: (500) 语法错误,无法识别命令。
在 Microsoft.VisualBasic.MyServices.Internal.WebClientCopy.DownloadFile(Uri address, String destinationFileName)
在 Microsoft.VisualBasic.Devices.Network.DownloadFile(Uri address, String destinationFileName, ICredentials networkCredentials, Boolean showUI, Int32 connectionTimeout, Boolean overwrite, UICancelOption onUserCancel)
在 Microsoft.VisualBasic.Devices.Network.DownloadFile(String address, String destinationFileName, String userName, String password, Boolean showUI, Int32 connectionTimeout, Boolean overwrite, UICancelOption onUserCancel)
在 Microsoft.VisualBasic.Devices.Network.DownloadFile(String address, String destinationFileName, String userName, String password, Boolean showUI, Int32 connectionTimeout, Boolean overwrite)
在 Foxtable.FTPClient.Download(String OlllO10O01O10O, String OO111llll1OOOll1llO)