以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  请教:关于FTP500错误  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=24150)

--  作者:飞天
--  发布时间:2012/10/5 11:32:00
--  请教:关于FTP500错误
请教:
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)

--  作者:lin_hailun
--  发布时间:2012/10/8 10:54:00
--  
 服务器文件的路径写错了?