Hi all,
I have a script contains this code :
ftp -n <<EOF
open ${serverName}
user ${userId} ${userPassword}
put file.txt /dfs/projects/gdm/batch/result.txt
quit
EOF
Is it possible to put errors in a log file (serverName or userId or password incorrect) ?
Thanks,
Phil
I have a script contains this code :
ftp -n <<EOF
open ${serverName}
user ${userId} ${userPassword}
put file.txt /dfs/projects/gdm/batch/result.txt
quit
EOF
Is it possible to put errors in a log file (serverName or userId or password incorrect) ?
Thanks,
Phil