I have server 1 (S1), server 2 (S2) (Data resides here)
I should connect from S1 using shell script to S2 using FTP.The
follwing conditions should be checked after the connect was made.
1) Check if the required files exists (example abc.txt).If not write a log to S1 that they do not exist.
2) If file exists then check the file size for every 2 mins to see if its growing.And if its not growing then move file from S2 to S1 and write the log in S1 and exit.
I cant create scripts or any logs in S2.