do we have any command run_ftp or this is a function.
run_ftp -d $dir $fname $ddir $file b
do we have any command run_ftp or this is a function.
run_ftp -d $dir $fname $ddir $file b
In bash/ksh type run_ftp
will tell you if it is a shell function or a separate file somewhere. You have to do this in the exact context of the code in question : be the user that runs that script with the same environment variables
i have checked & could see run_ftp there was a function called on it.