To transfer files via batch, scp is the best subsystem, as it isdesigned for a single command to copy the file.
Scp source_file user@server:destination_file
For example, if you want to copy the file file.txt from c:\tempon the Windows machine to the Unix server, you would use the command:
Scp c:\temp\file.txt unix_user@unix_server:file.txt
The syntax would be similar for copying files from Unix toWindows. Make sure you enter a destination file name.
You can get detailed instructions at www.pragmasys.com/ssh-client/topics/idh-scp.htm.