Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB FTP

Status
Not open for further replies.

pyttviper

MIS
May 15, 2001
37
US
I have a problem.

I have looked at all of the articles i can find about FTPing from a VB program, but I am still unclear on how to implement it in the code.

The steps I want to accomplish are:

connect to a server (username, password)
go to a directory
put a file in that directory from the local machine.

i have a batch file that does this now but I am finding it hard to put those commands in VB. If any one has a simple explanation or code snipet I would really appriciate it.


Thanks

Dan0
 
if you have an ftp batch, you could launch your batch from within vb or vba,...

syntax:

shell("c:\path\folder\ftp_batch.bat")
 
Maybe pass arguments to the API???....I'm not at all schooled in this but I know people who are and they say it's painless.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top