Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 15th, 2008, 5:05 PM   #1
Jabo
Not a user?
 
Join Date: Sep 2007
Posts: 228
Rep Power: 1 Jabo is on a distinguished road
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)
  1. mget blah*moreblah.blah
and it returns file not found blah*moreblah.blah

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?
Jabo is offline   Reply With Quote
Old Apr 15th, 2008, 8:33 PM   #2
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,453
Rep Power: 7 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
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."
Infinite Recursion is offline   Reply With Quote
Old Apr 16th, 2008, 11:03 AM   #3
Arla
Hobbyist Programmer
 
Join Date: Mar 2005
Posts: 142
Rep Power: 4 Arla is on a distinguished road
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.
Arla is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:31 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC