The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Windows & DOS: Issues & Discussions
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 04-03-2009
eskiphill4 eskiphill4 is offline
Registered User
  
 

Join Date: Oct 2008
Location: Pacific Northwest
Posts: 12
The renaming of the files should be done by the batch file before / after the call to the psftp program. It does the transfer, it doesn't have to do everything else, that is why you have a batch file. The script.bat file is instructions for psftp. The place for the other instructions should be in the .bat file that calls psftp. To make things clearer, rename script.bat to script.spftp. This is not a .bat file so should not be labeled as a .bat file!