PDA

Click to See Complete Forum and Search --> : Help with FTP and TELNET background calls


Jazziz
Jan 3rd, 2000, 03:26 AM
I'm completely new to VB, but need to complete a project fairly quickly for work. I need to open an ftp session, send a file to a unix server, close that session, open a telnet session and run a script using that file, all in the back ground (no forms open). Is this possible. How does this happen. Please leave detailed help, as again, I know very little about vb.

(This isn't a program which will be publically distributed, it's specific to my company)

Thank You,
-j

vbsquare
Jan 3rd, 2000, 07:24 PM
I don't know about the Telnet business, but I can help with the FTP. I suggest you goto www.codeguru.com/vb/ (http://www.codeguru.com/vb/) and look under the internet section.

------------------
"To the glory of God!"

Jan 7th, 2000, 12:18 AM
You can do the telnet bit using the WinSock control...I've made a Telnet Client program using this and it was quite simple to do. To make an automated version you would need to know what (exact - also case sensitive) commands is send by the telnet server to prompt for your username & password, so that the vb program knows what commands to send when.

If you connect to the telnet server and carry out all the appropriate commands using Microsoft's Telnet Client, you can have it log everything to a text file. Send me that text file (you can leave out your password if you want - you can fill that in later) and I'll make you a sample app...how's that sound? (Sounds like I have too much free time!! :) )

Matthew
m.ralston@mediavault.co.uk

vbsquare
Jan 7th, 2000, 09:48 PM
Hi,
RE: FTP
Check out my new article: www.vbsquare.com/internet/inet3/ (http://www.vbsquare.com/internet/inet3/)

------------------
"To the glory of God!"