Creating files with ASP?

This is a discussion on "Creating files with ASP?" within the Classic ASP section. This forum, and the thread "Creating files with ASP? are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > Classic ASP

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Sep 21st, 2004, 20:18
benbacardi's Avatar
Highly Reputable Member
Join Date: Feb 2004
Location: United Kingdom
Age: 20
Posts: 611
Thanks: 0
Thanked 0 Times in 0 Posts
Creating files with ASP?

is it possible to create acutal physical pages on the server using ASP?

  #2 (permalink)  
Old Sep 21st, 2004, 20:53
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,953
Blog Entries: 7
Thanks: 7
Thanked 4 Times in 4 Posts
yes.

You can use the fileSystemObject to physically create files.
Search the forums for 'FSO' or 'filesystemobject'

Hope this helps... post back if you get stuck.
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
  #3 (permalink)  
Old Sep 22nd, 2004, 18:11
benbacardi's Avatar
Highly Reputable Member
Join Date: Feb 2004
Location: United Kingdom
Age: 20
Posts: 611
Thanks: 0
Thanked 0 Times in 0 Posts
thanks rob!
  #4 (permalink)  
Old Sep 25th, 2004, 08:05
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 23
Posts: 1,650
Blog Entries: 1
Thanks: 0
Thanked 4 Times in 4 Posts
I've written a "FSO library" in ASP (make, delete, rename, move files and folders)
you can have the code if you're interested. it will save you a lot of time
e.g.:
if you wanted to write a file "/test_folder/my_file.asp" you'd call:
Code: Select all
CreateFolder "/test_folder/"
WriteToFile "/test_folder/my_file.asp", "hello world!"
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
Closed Thread

Tags
creating, files, asp

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
re-creating this WDH Web Page Design 4 Feb 14th, 2008 07:46
Dynamically creating .ram files php - Realplayer Andy K PHP Forum 14 Sep 11th, 2007 21:24
.jar files AdjLaz JavaScript Forum 1 Jul 27th, 2006 13:57
Help with MP3 Files ricky1911 Web Page Design 5 Dec 13th, 2005 23:13
".lbi" files MotorMouth PHP Forum 2 Oct 18th, 2004 05:20


All times are GMT. The time now is 07:44.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43