Need a way to download * (wildcard) via ftp in a script
Here's a real need of mine, and I haven't figured out how to do it on my own.
Is there ANY way to do a wildcard download via FTP from the command line? I've looked at ncftpget and wget and neither seems to have anything that works for me. Example of what I need:
Log into X IP address
using username Y and password Z
and download * (all)
Thanks,
Dane

Comments
Re: Need a way to download * (wildcard) via ftp in a script
This asumes that the server shows a directory listing when you use the IP address in a web browser.
Re: Need a way to download * (wildcard) via ftp in a script
See some examples here :
http://users.telenet.be/mydotcom/howto/ftp/ftp_script_linux.htm
The idea is to use the FTP command, and give it some script on the standard input. This particular example does an mput (sends file to the server). You'll want the mget command instead to get multiple files. The script should be pretty similar.
Re: Need a way to download * (wildcard) via ftp in a script
Try this:
wget -r ftp://user:password@server/some/path