I've got a program that shells out and runs a script in ftp,
ShellLine$ = "ftp -n -s:"+scriptfile$+" "+ftpserver$+" > "+outputfile$
SHELL ShellLine$
When the user enters the wrong password or loses a connection
the program errors out with a 208. What happens is an extra line
is printed, it's not going to the outputfile. I could trap 208
but that seems to me that I'm fixing a symptom instead of the
problem.
TIA
------------------
ShellLine$ = "ftp -n -s:"+scriptfile$+" "+ftpserver$+" > "+outputfile$
SHELL ShellLine$
When the user enters the wrong password or loses a connection
the program errors out with a 208. What happens is an extra line
is printed, it's not going to the outputfile. I could trap 208
but that seems to me that I'm fixing a symptom instead of the
problem.
TIA
------------------
Comment