Currently we use automate by network automation to run all our jobs but i have purchased a copy of automise as it seems to be a lot more cost effective, but i am struggling with porting the following job across to Automise. Can you give me any ideas you may have on the following :-
1. Connect up to ftp site.
2. Change ftp folder.
2. List all files into a variable array.
3. Download File.
4. Check file is greater then 0 bytes.
5. Check the file ends with the string ''CONTENT''
6. if it does then perform a number of copy and archive operations.
7. If all the copy operations work ok then delete the file from the ftp server.
8. loop around the array until no more files left
9. ftp disconnect.
I have the basic script working fine in Automise - so i can connect up, get the file listing, download the files and do all the copy/archive operations but i am stuck on how the make sure the file contains the required string and is not zero byte.