Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> Visual Basic >> Snippet

Upload file (Internet Transfer Control)


'upload a file using FTP
Inet1.URL = " ftp://ftp.domain.com "
Inet1.UserName = "UserName"
Inet1.Password = "password"
Inet1.Execute , "Put C:\putme.txt /files/putme.txt"
Inet1.Execute , "Close"