The automated script will open that application and give login credentials and select option such upload or download to do file transfer. Probably first uploading, second downloading etc..
I dont know how to automate the console application... Please give your support and suggestion to me work better.