Originally posted by Bill Bertera
Nicole Goodyear wrote:Hi,I was wondering if anyone has any knowledge with sending files using ftp to Cloverleaf? We are looking to get a file from our inventory system onto our AIX box and somehow using a cronjob to ftp this file to a thread on our engine to process it into an HL7 message and send to another system. Any ideas, suggestions or help would be greatly appreciated!
Nicole Goodyear wrote:
Originally posted by Glenn Friedenreich
ftp -inv <<- ! >> $local_ftp_log_file open $host_name user $user_id $pass_word $transfer_mode cd $remote_dir pwd dir lcd $local_dir mget $remote_file bye!
ftp -inv <<- ! >> $local_ftp_log_file open $host_name user $user_id $pass_word cd $remote_dir pwd dir mdelete $remote_file pwd dir bye!