to run ftp without interface is needed two files.
[** This is for unix series os.]
1) batch ftp command file
2) script to call batch file( #1)
ftp.cmd # command file
ftp.sh # shell file.
## command file ####
# let's assume userid : aaa password : bbb
# remote directory : cccc
# local directory : dddd
# this command list can get multiple files.
open 111.111.111.111
user aaa bbb
lcd dddd
cd cccc
hash
bell
mget *
## shell file.
ftp -i -n < ftp.cmd
Culture, IT, Trend, Travel , Experience korea travel & culture youtube: https://www.youtube.com/@kawadakr
2013. 8. 28.
2013. 6. 27.
Running multiple batch command at the same time by dos command.
Each batch file runs without waiting for ending previous batch commands.
(sample1)
Multi_run.bat
start cmd.exe /C bat_comm1.bat
start cmd.exe /C bat_comm2.bat
start cmd.exe /C bat_comm3.bat
(sample1)
Multi_run.bat
start cmd.exe /C bat_comm1.bat
start cmd.exe /C bat_comm2.bat
start cmd.exe /C bat_comm3.bat
피드 구독하기:
글 (Atom)