Downloading files from remote server

sys_karthik

New member
Joined
May 10, 2008
Messages
2
Programming Experience
Beginner
Hi,

I'm a beginner and i have the following problem.
I need to retrieve one file from a remote server.
This remote server "xyz" can only be accessed from another remote server "abc". Also before retrieving the file i need to run some commands in order to set some of the environment variables. I was able to do this without any issues in unix using the expect scripts but i want this to be done through VB .NET. Can some one provide me the code so that I can proceed on this. To summarize:
1. Telnet to server1 "abc".
2. Telnet to server2 "xyz" from server1 "abc".
3. Run some command specific to server2.
4. Download/ftp the file to local machine.
 
Back
Top