![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Not a user?
Join Date: Sep 2007
Posts: 272
Rep Power: 2
![]() |
DOS FTP help?
I've searched and I'm not finding what I'm looking for. I'm setting up batches to ftp files, and I can set up for filtering certain criteria, but some of the files have varying name lengths, and I can't find anything about using wildcards in FTP. I've tried this:
ftp Syntax (Toggle Plain Text)
I know for a fact the the files are there that would match the pattern. Should that work or am I going about it wrong? |
|
|
|
|
|
#2 |
|
Programming Guru
![]() ![]() ![]() |
Re: DOS FTP help?
I haven't used DOS in a while... but in other instances when using wildcards within a filename it has to be enclosed in double quotes... try this:
mget "blah*moreblah.blah"
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
|
|
#3 |
|
Hobbyist Programmer
Join Date: Mar 2005
Posts: 208
Rep Power: 4
![]() |
Re: DOS FTP help?
I just tried it (use it at work) and it works just fine, do you have the right case, remember that the machine you are getting files from may be case sensitive.
|
|
|
|
|
|
#4 |
|
Newbie
Join Date: Sep 2008
Location: Merimbula, Australia
Posts: 26
Rep Power: 0
![]() |
Re: DOS FTP help?
As Arla says, it is case sensitive. Even with Microsoft IIS funnily enough, whereas the rest of the OS generally doesn't care about case.
And you don't need the quotation marks... mget blah*moreblah.blah ...will work fine.
__________________
Domain name registration |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DOS batch files question | Jabo | Other Programming Languages | 0 | Apr 11th, 2008 10:53 PM |
| perl ftp get file once,push x times | domquemo | Perl | 1 | Feb 15th, 2008 2:57 PM |
| DOS Box anyone? | Grich | Coder's Corner Lounge | 5 | Oct 7th, 2007 9:52 PM |
| Dos based Gui | Damienallen | C | 12 | Oct 1st, 2007 10:09 AM |
| FTP Help | mattireland | HTML / XHTML / CSS | 1 | Sep 22nd, 2007 8:22 AM |