Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Re: Mappath Problems


Message #1 by "Ken Schaefer" <ken@a...> on Wed, 5 Jun 2002 16:52:14 +1000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "Lance Kirby" <lkirby@g...>
Subject: [asp_web_howto] Mappath Problems


: Having probelms with my server mappath
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Maybe if you tell us what sort of problems you are having rather than making
us guess wildly in the dark...

Cheers
Ken

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: could someone take a look at it
: and tell me what i might be doing wrong.
:
:
: 'Create FileSytemObject Component
: Set ScriptObject = Server.CreateObject
: ("Scripting.FileSystemObject")
: 'Create and Write to a File
:
: if image <> "" then
: 'Create and Write to a File
: Set MyFile = ScriptObject.CreateTextFile
: (Server.MapPath("/images/products/"&image))

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Message #2 by "Lance Kirby" <lkirby@g...> on Tue, 4 Jun 2002 22:31:13
Having probelms with my server mappath could someone take a look at it 
and tell me what i might be doing wrong.  

			
			'Create FileSytemObject Component
			 Set ScriptObject = Server.CreateObject
("Scripting.FileSystemObject")
			'Create and Write to a File

			 if image <> "" then
				'Create and Write to a File
				 Set MyFile = ScriptObject.CreateTextFile
(Server.MapPath("/images/products/"&image))

  Return to Index