I need to pull a file off a network and want to do it from within a vb program. The file has a static name and location and needs to be saved to the users desktop.
try this
1. add the Microsoft Internet Transfer Control 6.0 to the project
'Place this code in some command button . .
With Inet 'the object added when you add the control in (1.)
.URL = "ftp://111.111.111.111/" 'enter your own server addr.
.UserName = "UsernameInServer"
.Password = "PasswordInServer"
.Execute , "get FileYouWantToGet DestinationInSystem"
End With
i haven't run this but it should work
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.