Hi all,
I was playing with the perl module FTP and also with the unix (freebsd) ftp commands and in found that i could use the mget/mput to get/put multiple files from an ftp site with shell script.
I want to copy all the files from a directory off the root e.g. /store/*.* to a local directory.
Does anyone know if there is a way do the a multiple get/put of files using the perl FTP module. I have trieds all the obvious ways to no avail. I know my script works cos i can download/upload a single file with no problem.
The only way i can see this working is to create a perlscrip that runs a shell script that will do to the ftp login and transfer.
"Always know what you say, but don't always say what you know!"
I was playing with the perl module FTP and also with the unix (freebsd) ftp commands and in found that i could use the mget/mput to get/put multiple files from an ftp site with shell script.
I want to copy all the files from a directory off the root e.g. /store/*.* to a local directory.
Does anyone know if there is a way do the a multiple get/put of files using the perl FTP module. I have trieds all the obvious ways to no avail. I know my script works cos i can download/upload a single file with no problem.
The only way i can see this working is to create a perlscrip that runs a shell script that will do to the ftp login and transfer.
"Always know what you say, but don't always say what you know!"