updated to copy file to the remote server before executing the put command on Stor