|
-
Jun 27th, 2008, 07:10 PM
#1
Thread Starter
Hyperactive Member
VB6 - FTP in VB
Hello everyone,
can someone please guide thru and FTP Process in VB environment.
We have an FTP tool call "WS_FTP PRO". Using this tool, we can mannually perform ftp functions(upload/import files to/from) mainframe or server.
In my case, I have a vb module that creates a text file "empl_msgs.txt".
My objective is to FTP the above file to a secure server.
I have created a table "tblFtpInfo" (this table contains my FTP authentication info such as: Open, 10.8.25.15,usrid, passwrd, put srcfile, destfile, quit).
What is the best/easiest programmatical syntax to accomplish the ftp process?
I have:
Code:
ftp.exe -s:"\\filepath and name\ftpinfo.txt"
Note: ftpinfo.txt contains my FTP authentication information, the open, put and quit statements.
Another important piece of this process is after vb turns control to the ftp execution, I want control to be turned back to vb so that vb can finish the rest of its execution.
Any assistance will be greatly appreciated.
Giftx.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|