Hi All,<br><br>I am using RHEL 5.2 and within my %post, I would like to upload a file to an anonymous enabled FTP server.<br><br>Here's what I am doing.<br><br>%post<br>     cat <<NETRC > /root/.netrc<br>machine <SERVER_IP><br>
login anonymous<br>password ^M<br>NETRC<br><br>     ftp -i <SERVER_IP> <<EOF<br>put /root/${TAR_FILE_NAME}.gpg system_to_rebuild/<HOSTNAME>/${TAR_FILE_NAME}.gpg<br>quit<br>EOF<br><br>I am not sure what went wrong here.  When I run this scriptlet standalone in a shell, it runs successfully.<br>
However when run within Anaconda, it doesn't work.  I couldn't see the file being uploaded to my FTP server.<br><br>Any idea?<br><br>Thanks,<br><br>David<br>