Moving files by FTP
Posted: 29 Aug 2012 09:40
Hi,
we are using the ftp to get same files to work, after we process this files we need to move this files to a remote directory in the same server where we the the files by ftp.
We are using the mget to extract all files.
(
echo open %2
echo %3
echo %4
echo cd %5
echo binary
echo mget FSeq_001_IN_*.dat
echo disconnect
echo bye
)>PROC_GET_Card_ftp
ftp -i -s:PROC_GET_Card_ftp
del PROC_GET_Card_ftp
How can we move all files from %5 to %5/backup ?
we are using the ftp to get same files to work, after we process this files we need to move this files to a remote directory in the same server where we the the files by ftp.
We are using the mget to extract all files.
(
echo open %2
echo %3
echo %4
echo cd %5
echo binary
echo mget FSeq_001_IN_*.dat
echo disconnect
echo bye
)>PROC_GET_Card_ftp
ftp -i -s:PROC_GET_Card_ftp
del PROC_GET_Card_ftp
How can we move all files from %5 to %5/backup ?