I have a similar script that runs daily. I found that I had to add the
-n switch to keep from being prompted for the password. This might be
due to differences in the FTP client code. My command looks like this: 

ftp -n -s:getvm.txt vmsys

where vmsys is the IP address or name of the VM system. With the vmsys
added to the FTP command, you do not need the open command in the file.


Regards, 
Richard Schuh 

 

> 
> open your.vm.system
> userid
> password
> prompt
> lcd c:\tempftp
> ascii
> get cmsfn.cmsft pcfn.pcft
> get cmsfn2.cmsft pcfn2.pcft
> quit 
> 
> Update as appropriate for your system.  The bat file needs to 
> look something like this:  (PC name = getvm.bat
> 
> ftp -s:getvm.txt
> pause
> 

Reply via email to