I write a batch file in Windows to download some files from an
UltraSPARC running Solaris in a LAN. The files will be deleted after
it was retrieved. Currently, I generate a ftp script file in the batch
file and pass it to ftp with 'ftp -ivn < myfile.ftp' in Windows.
The ftp script generated will be something like this:
user <username> <pass>
Note that It is possible that the files are not available in the
UltraSPARC and it seems there is a bug in the ftp 'delete' command
(maybe in Windows environment).
The 'delete' command is supposed to delete the file in the REMOTE
environment, however, if the file does not exist in the UltraSPARC,
the 'delete' command will delete the file store in my LOCAL HARD DISK.
Is there anyway to prevent the 'delete' command to delete the files in
my local hard disk when it doesn't exist in thre UltraSPARC ?
\/\/yatt \/\/ong Home Page - http://www.asiaonline.net.hk/~tfwong/
Winona Ryder Forever H. P. - http://www.asiaonline.net.hk/~tfwong/winona/
Send a message with subject GET PGP KEY to get my PGP public key