Why when I mv $UpLoadFileName supfinaid.DSB
does not work,
it is getting the $UpLoadFileName and it is moving it to the right location,
but not the move,
Let me know if you want to see the all script, I just want to rename
$UpLoadFileName, it is moving $UpLoadFileName to the right directory but not the rename part..
Thank you
# Change the directory to one contains the file to be transported
$CDRemoteDir;
# Change dir to where the ftp will place the uploaded file
cd ${LocalDir}
# Initiate the FTP process
ftp -n $RemoteHost <<!EOF
quote user $RemoteUser
quote pass $RemotePass
get $UpLoadFileName
mv $UpLoadFileName supfinaid.DSB
###get $NewName
quit
!EOF
# End of FTP Process
#========================================================================#