I want to create a batch file in Windows Server, including the following functions:
- Connection to a FTP server
- Copying the files from there (directory called "out") to a local directory
- if success, then deleting the files from the FTP server
- repeating those steps every 15 minutes
I haven't done that much with batch files so far, so it would be great if you could help me. I know there is the ftp
command, and I know how to connect (ftp open
), but unfortunately I don't know how to copy those files from there every 15 minutes.
Thanks a lot for your help!
See Question&Answers more detail:os