Not able to generate the FTP logs using the unix code in concurrent request.
Hi Team,
I am not able to generate the FTP logs using the Unix code in my concurrent program.
Please help me out for the same.
Please find the below unix code and let me know if anything uncorrect:
USER="******"
PASSWD="*******"
localFile="/applglobal/apps/apps_st/appl/xxtwl/custom/outbound/dms/shipment"
remoteFile="/Shipment/dms"
ftplog="/applglobal/apps/apps_st/appl/xxtwl/custom/outbound/dms/shipment/ack.log"
echo "$(date "+%H:%M:%S") - Attempt to FTP $localFile to $remoteFile" > $ftplog
# do the FTP put
cd $localFile
ftp -in ******** <<EOF >> $ftplog
quote USER $USER
quote PASS $PASSWD
cd $remoteFile
prompt