[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

FTP problem



Hello

I created a ks.cfg file that runs from a boot disk and install's RedHat from CD-rom.

>From that script i need to put some files on the new installed PC that a want to get via FTP from a server.
I put in the %post

#ftp
cat > "/tmp/ftp.cfg" <<EOF
ftp -n 153.112.159.124
user username userpassword
prompt
cd snarf/urlsnarf
lcd /opt/snarf/urlsnarf
mput *
cd ../scripts
lcd ../scripts
mput *
bye
EOF
/tmp/ftp.cfg
rm /tmp/ftp.cfg

I got permission denied when it try to run the script ftp.cfg
Any idee how to solve this problem.

Regards,
Mario Van de Walle 







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]