echo -e "user $user_id $password
ascii
prompt
$source_dir
lcd ${DATA_PATH}
$ftp_command $process_file
bye“ > ftpfile
ftp -n "$remote_server" < ftpfile 2>&1 1> $FTPLOG
if (grep "^Login incorrect." $FTPLOG)
then
echo "ERROR LOGIN INCORRECT"
fi
if (grep "^Not connected." $FTPLOG)
then
echo "ERROR FTP CONNECT"
fi
if (grep "No such file" $FTPLOG)
then
echo "ERROR FTP NO SUCH FILE"
fi
if (grep "access denied" $FTPLOG )
then
echo "ERROR FTP ACCESS DENIED"
fi
if (grep "^Please login" $FTPLOG )
then
echo "ERROR FTP LOGIN"
fi
A Language is not worth knowing unless it teaches you to think differently.
Subscribe to:
Post Comments (Atom)
Item - Category Query
SELECT msi.segment1 AS Item_Code, msi.DESCRIPTION AS Item_Desc, mcs.CATEGORY_SET_NAME, mck.CONCATENATED_SEGMEN...
-
1. To download Ldt file for a Concurent Program FNDLOAD [username]/[password] O Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct file_nam...
-
The profile information available in the HZ_CUSTOMER_PROFILES can be created in three levels namely Party, Customer Account and Customer...
-
Here the article will describe about how to register WebADI to Responsibility menu Go to System Administrator --> Security --> Respo...
No comments:
Post a Comment