1.

Solve : Need help to create batch files?

Answer»

Hello..I just want to ask you all how to make batch files for this:
C:\putty\psftp stork
login as:ODBMS
password:******
LCD a:\
cd /u02/app/tsm/tsmdbbk
get dsmserv.dsk
get dsmserv.opt
get devconfig.out
get volhist.out
bye

Please help me..i NEED you all help..Thanks what exactly do you want it to do?It seems some of those commands can be passed on the command line while others can come from a script.

Code: [Select]C:\putty\psftp -l odbms -pw ****** -B script.txt

script.txt
Code: [Select]cd a:\
cd /u02/app/tsm/tsmdbbk
get dsmserv.dsk
get dsmserv.opt
get devconfig.out
get volhist.out
quit

For more details check out: PSFTP

Good luck.

Couldn't figure what stork meant.Quote from: Sidewinder

Couldn't figure what stork meant.

Well, Ahli Baru might know...

Check out that line starting "password"...

Code: [Select]macam mana nak buat batch files(FTP) untuk ni:

start MENU > run > type: c:\putty\psftp stork

login: odbms
password: 7bAHy8XB
lcd a:\
cd /u02/app/tsm/tsmdbbk
get dsmserv.dsk
get dsmserv.opt
get devconfig.out
get volhist.out
bye


Discussion

No Comment Found