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

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,113
Latest member
Vinay KumarNevatia
Top