I have an "expect" script that I'm having troubles with.  What I'm
trying to do is ftp all the files in the current directory with "mget
*".  

When the script gets to that point (send "mget *\r"), I get the
following message back from the host:

        *: No such file or directory

A partial listing of the script follows:


expect "ftp> $"
send "prompt off\r"
expect "ftp> $"
send "hash on\r"
expect "ftp> $"
send "mget *\r"
expect "(remote-files) "
send *\r
expect "ftp> $"
send "bye\r"


TIA,
Mike


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to