Reading filename and insert

J

Joey Martin

Can someone help me with a quick script.

I need to browse filenames in a directory and insert them into my sql
table. I want to run this in an ASP page. I know how to connect to the
database, etc. I just need the script on how to get the filenames.

directory: C:\websites\photos
tablename: photos
fieldname: photoname
 
B

Bob Barrows [MVP]

Joey said:
Can someone help me with a quick script.

I need to browse filenames in a directory and insert them into my sql
table. I want to run this in an ASP page. I know how to connect to the
database, etc. I just need the script on how to get the filenames.

directory: C:\websites\photos
tablename: photos
fieldname: photoname
http://www.aspfaq.com/show.asp?id=2039
 
T

Tim Slattery

Joey Martin said:
Can someone help me with a quick script.

I need to browse filenames in a directory and insert them into my sql
table. I want to run this in an ASP page. I know how to connect to the
database, etc. I just need the script on how to get the filenames.

Under normal security arrangements, you do not have access to the
client's file system.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top