VB Code:
  1. Option Explicit
  2. Dim Inet1
  3.  
  4.  
  5.  
  6. Private Sub Timer1_Timer()
  7.  
  8. 'Upload or download files to FTP sites u
  9. 'sing only 5 lines of code!'Thanks for the example Venari, it's great to get 'shown up' sometimes! >:-D
  10. With Inet1
  11. .Protocol = icFTP
  12. .UserName = "user" 'FTP servers require a valid logonid and password
  13. .Password = "pass" 'before they Let you upload.
  14. .RemoteHost = "mysite"
  15. .Execute , "SEND C:\demo"
  16. End With
  17. End Sub

I get Variable not defined error. Something with icFTP I think.