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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unique Filenames with CFFile ??

Status
Not open for further replies.

ApexSys

Programmer
Jan 10, 2001
15
US
Can somebody give me an idea of how to write out a unique file name using CF File that increments by one each time I write the file?

I'd rather not use a database to keep tabs of the filenames. I see that the CFFile Upload allows this with a Name Conflict attibute. But I'm just doing a "write".

Maybe something like using CF Directory "list"..... ???

Thanks, -=-=-=-=-=-=-=-=-=-=-=-=-=-
Apex Systems Consulting
e-Solutions for Small Business
 
I would recommend using the database and simply setting a primary key, so that the files are automatically assigned a number.

Ryan ;-]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top