Posts Tagged ‘automate’

Batch file, script file what should I do to automate transferring a file?

Ok here is the deal. I have a mapped drive “r” that is mapped to a share on ifs on the as400. The 400 is locked down very tight and cannot be loosened up at all because we are on a shared box with different facilities. A file is created every night during day end and I want to do the following: 1. copy the one file that is generated to a differnt folder 2. move the copy from that folder to another server on my local network. This needs to be done everyday and automatically without user interaction. We tried to use ftp programs but they have us so severely limited we cannot do it. So basically I need either a batch file or a script to transfer the file from my mapped 400 drive to another server(locally). I know very little about scripting. Any ideas? also the file name is different everyday.

TigerDirect