i would like to ask if it possible for a ftp script to transfer only text files in
the directory and sub directories instead of the whole folder over. The filename of
the text files are unknown before transfering.
if possible can anyone provide some sample.
the ftp script below enables me to transfer the folder over to the remote server
however it keep running in a loop. how can this problem be solved
# this will get everything under /usr2/u/ls-2000/QjobSpec and place
# it into a folder called rvsi2 which is only created when this
# script is executed
wget -r ftp://$
# the data you download will be sit under
# you can move it up by:
mv QjobSpec /home/student/Desktop
# Remove the files on the remote host.
ftp -n -i rvsi2 <<EOF
user root daybreak