Page 1 of 1

pass Username and password automaticlly using a batch script

Posted: 02 Feb 2009 09:33
by mkparasar
Hi experts,

i am writing a bach where i will FTP to a machine and at the prompt it will ask me for username and password. how can i code this in my batch.

please advice.

Posted: 26 Aug 2009 23:42
by DccD
If you want to be ask for user/pass then simply add this to a batch file:

Code: Select all

@echo off
ftp server