So here is how I want to work... using BASH
Start the script...
1. fetch a file using wget
2. run another program to process the file I got from wget
3. run sftp to upload the result
Any suggestions and pointers?
I know how to run programs through BASH... What I want is: How to make the script wait until wget finishes, how to make it wait until the processing program finishes and how to get sftp to work with it. I know there is delay until the server asks for a password, and there are local and remote commands.
Any help welcomed and appreciated