Home | History | Annotate | Download | only in miniroot

Lines Matching refs:ftp

641 	# commands into ftp.
644 This is an automated ftp-based installation process. You will be asked
646 that will be fed to ftp(1).
683 echo "The default installation directory in the official ftp server is:"
701 # Build the basics of an ftp-script...
702 echo "#!/bin/sh" > /tmp/ftp-script.sh
703 echo "cd /mnt" >> /tmp/ftp-script.sh
704 echo "ftp -e -i -n $_ftp_server_ip << \__end_commands" >> \
705 /tmp/ftp-script.sh
707 /tmp/ftp-script.sh
708 echo "bin" >> /tmp/ftp-script.sh
709 echo "cd $_ftp_server_dir" >> /tmp/ftp-script.sh
713 cat /tmp/ftp-script.sh > /tmp/ftp-dir.sh
714 echo "nlist" >> /tmp/ftp-dir.sh
715 echo "quit" >> /tmp/ftp-dir.sh
716 ftp-dir.sh
719 sh /tmp/ftp-dir.sh
721 _sets=$(sh /tmp/ftp-dir.sh | sort -u | sh /tmp/fname_filter.sh)
724 rm -f /tmp/ftp-dir.sh /tmp/fname_filter.sh
725 rm -f /tmp/ftp-script.sh
727 # Prepare ftp-fetch script to fetch binary sets
730 _ftp_url="ftp://$_ftp_server_login:$_ftp_server_password@$_ftp_server_ip$_ftp_server_dir/"
731 echo "#!/bin/sh" > /tmp/ftp-fetch.sh
732 echo "cd /mnt" >> /tmp/ftp-fetch.sh
733 echo "mkdir -p $_download_dir" >> /tmp/ftp-fetch.sh
754 # to the ftp-fetch script.
766 /tmp/ftp-fetch.sh
767 echo "ftp ${_ftp_opts} -o $_download_dir/$resp ${_ftp_url}$resp" >> \
768 /tmp/ftp-fetch.sh
770 /tmp/ftp-fetch.sh
772 /tmp/ftp-fetch.sh
774 /tmp/ftp-fetch.sh
782 sh /tmp/ftp-fetch.sh
783 rm -f /tmp/ftp-fetch.sh