By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,162 Members | 1,050 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,162 IT Pros & Developers. It's quick & easy.

Create a new asp page using asp scripts?

P: 14
Is there away to create a new asp page using asp script. I know you can do this with text files where it save it as .txt and you can view it or delete it. But can you do this with .asp and place it into any folder you want?
Jun 14 '11 #1

✓ answered by jhardman

When you use the scripting file system object within asp to create new text files you specify the name and extension of the file. So you can easily save as "myfile.asp" rather than "myfile.txt".

On the other hand, asp scripts run under the i_usr account and that user shouldn't have permission to save files to very many folders. Also, IIS shouldn't attempt to execute scripts from very many folders.

Let me know if this answers your question.

Jared

Share this Question
Share on Google+
1 Reply


jhardman
Expert 2.5K+
P: 3,405
When you use the scripting file system object within asp to create new text files you specify the name and extension of the file. So you can easily save as "myfile.asp" rather than "myfile.txt".

On the other hand, asp scripts run under the i_usr account and that user shouldn't have permission to save files to very many folders. Also, IIS shouldn't attempt to execute scripts from very many folders.

Let me know if this answers your question.

Jared
Jun 14 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.