试试put c:\send.txt sent.txt

解决方案 »

  1.   


    With Inet1
       .URL = "ftp://194.168.0.249/"
       .UserName = ""
       .Password = ""
      .Execute , “ put c:\send.txt /sent.txt ”
    End With
    下载用get
      

  2.   

    '指定inet1的url,username,password,protocol等属性了吗?
       Inet1.URL = "ftp://username:[email protected]
       Inet1.Protocol = icFTP
       Inet1.RemoteHost = FTPServerName
       Inet1.RemotePort = 21'FTP虚拟站点的端口号
       Inet1.Password = password
       Inet1.UserName = UserName
       Inet1.Execute inet1.url "send c:\send.txt /send.txt"