I am trying to login to an FTP server from VB script and execute some commands.
manually we login to ftp server with:
ftp my.server.name
Enter Uname: _
Enter Pwd: _
uname and pwd are prompts for the user. How can I do this from VB script? if there was a way to login to a ftp server by supplying uname and pwd in the same line then I could just execute one line from the VB script.
How can i do this?
You can create a commands file and use that as an input to the FTP
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/rzaiq/rzaiqcrtftpinput.htm