Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What is occurring is that i can get the files with my cfset yourfile.

Status
Not open for further replies.

gsaini

Programmer
Jun 19, 2000
5
US
What is occurring is that i can get the files with my cfset yourfile.&nbsp;&nbsp;This bring in most of the files that i am looking for.&nbsp;&nbsp;Although there are some files in this directory that either have a &quot;ra&quot; attached to the front or a letter attached to the end<br><br>RA31529.pdf<br>or<br>RA31529b.pdf<br>or 31529a.pdf<br><br><br>i can bring in all the files that do not have &quot;ra&quot; or a &quot;letter&quot; behind them<br><br>is there a way that i can parse these files and also pull in the ones with &quot;ra&quot; and or with a &quot;letter&quot; behind them?<br><br><br>&lt;CFSET yourFile = &quot;..\some\#funding.folder#\&quot; & funding.id & &quot;.pdf&quot;&nbsp;&nbsp;&gt; <br><br>that is what i use to get the files back from the file system<br><br>
 
CFFILE does not filter out files with RA.. in fact it does not filter any files, it will read any filename you tell it, therefore you must be making a syntax error with your filenames if you cannot read them.<br><br>Use your debugging output and output your variables to the screen so you can see what they contain and where the error is. <p>Russ Michaels<br><a href=mailto:russ@satachi.com>russ@satachi.com</a><br><a href= Internet Development</a><br>Rapid Web application development, specialising in Coldfusion, database integration and e-commerce solutions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top