Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Importing .txt documents into the DB as posts.
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

dlaizure
Starting Member

8 Posts

Posted - 28 April 2002 :  02:46:47  Show Profile  Visit dlaizure's Homepage
Hello,

I am attempting to build a knowledge base (of sorts) using the snits forums as a interface through which users can both access the information I am populating into the forums and add their own. I have a large amount of documentation and reference material that I would like to import into the forum. This information is currently saved as a bunch of ascii txt files. Each .txt file is about 20KB and represents a unique discussion on a particular subject, therefore each needs to be its own topic in a forum.

The question is, is there an easy way to import this data so I can populate the database without manually cutting and pasting the data and then "posting" each topic into the appropriate forum?

It was recommended to me that I consider writing a script to do this using the FileSystemObject obeject to accomplish my goal. That sounds great except that I don't code ASP and am wondering of anyone out there either has a script for this or can put a simple one together for me? I searched for FileSystemObject on this web site and saw a couple of scripts written that look like they were designed to do this same sort of thing, only with pictures. Unfortuneately I don't even know enough about ASP to modify these scripts or even to know if simply moding those scripts would work.

Thanks for any help you can offer

Dale





HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 28 April 2002 :  07:14:53  Show Profile  Visit HuwR's Homepage
try looking on aspin.com or aspdev or asp101, you will find plenty of examples of what you want to do.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07