Jump to content


Photo

ftp with wildcards???


  • Please log in to reply
2 replies to this topic

#1 scliburn

scliburn
  • Members
  • PipPipPip
  • Advanced Member
  • 30 posts

Posted 27 July 2006 - 06:12 PM

i haen't found the answer so im posting.
can the ftp functions use wildcards to get alike files?

Anyone know of this? Any examples of such?

#2 shocker-z

shocker-z
  • Members
  • PipPipPip
  • Advanced Member
  • 864 posts
  • LocationNottingham

Posted 27 July 2006 - 06:22 PM

mget *.html

should get all .html files but i spose it depends on the server..

Is this really PHP question? or are you looking at PHP FTP function specific wildcards?

Regards
Liam
www: www.ukchat.ws | irc: irc.ukchat.ws chan: #blufudge

#3 scliburn

scliburn
  • Members
  • PipPipPip
  • Advanced Member
  • 30 posts

Posted 27 July 2006 - 06:26 PM

yes this is a PHP question. I am writing a small script to download files that all have the same initial characters in their name.
Instead of having to run through a function on specific files names i want to grab all files that start with xyz*




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users