Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 7th, 2007, 08:31 AM
SMM SMM is offline
Registered User
 
Join Date: Mar 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default What is Server,CreateObject("File.clsFile")?

Hi,
I have a code which uploads the corresponding HTML file which the user selects from the client side. This html page needs to be stored in the server.
The code written for this contains

set f=server.CreateObject("File.clsFile") 'causing error due to this

f.Writefile orig_path & "upload", "mailmessage_"&SerialNo&".html", message
set f=nothing

I searched in the net and could not find any object such as File.clsFile in ASP

This code was working before.
could anyone help me with this...

Thanks
SMM







Similar Threads
Thread Thread Starter Forum Replies Last Post
How To use server.createobject in c# ranakdinesh C# 0 November 4th, 2005 08:18 AM
Server.CreateObject Failed patwadd Classic ASP Databases 3 February 7th, 2005 05:46 PM
Server.CreateObject Failed ckwizard77 Classic ASP Components 2 October 23rd, 2004 09:41 AM
Server.CreateObject("Outlook.Application") Dave Sell Classic ASP Professional 1 September 4th, 2004 01:44 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.