-- 作者:migold
-- 发布时间:2012/6/14 12:41:00
--
Dim ftp1 As new ftpclient ftp1.host="192.168.1.99" ftp1.Account = "abcd" ftp1.password = "12345678"
我刚试过,加上这句:ftp1.TimeOut = 30000 就OK了。
If ftp1.DirectoryExists("/data") = False Then \'如果不存在Data目录 ftp1.MakeDir("/data") \'则创建Data目录 End If
谢谢狐狸爸爸,这么快就回复!
|