hi,
My problem is how exiting a ftp script if the server is not available.
I have a script like this :
open ftp.server
login
passwd
bin
cd /DATA
dir
bye
If the ftp server is not available, i have the prompt ftp> and i want to quit the script ftp automaticaly.
is a command autologout exist ?
Than you for your response.
autologout ftp sript
Moderator: DosItHelp
Re: autologout ftp sript
You would think BYE and QUIT would work the same. We usually use QUIT at the end of all of our FTP scripts.