FTP problem

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

 



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 







[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux