Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: file system object on client's mechine


Message #1 by praveen sehgal <bobby_sehgal_99@y...> on Fri, 29 Jun 2001 05:09:43 -0700 (PDT)
Hi!!!! Friends



I wanna know if there is a way i can create file

system object on client's mechine with my ASP page...



i have tried making an active X control too but it

says active X control can not make objects....



any clues???



the only success i got is that i could manage to send

the coding on a client mechine via XML but how can i

manage to retrive that coding as an script and execute

it????



thanks

praveen





Message #2 by "phil griffiths" <pgtips@m...> on Fri, 29 Jun 2001 15:02:26
No No No No No!  ASP runs server side only so there is no way you are 

going to access client-side stuff.  How would you like it if a web page 

you were viewing started messing around with files on your computer?  



> Hi!!!! Friends

> 

> I wanna know if there is a way i can create file

> system object on client's mechine with my ASP page...

> 

> i have tried making an active X control too but it

> says active X control can not make objects....

> 

> any clues???

> 

> the only success i got is that i could manage to send

> the coding on a client mechine via XML but how can i

> manage to retrive that coding as an script and execute

> it????

> 

> thanks

> praveen

> 

> 

Message #3 by "Alex Shiell, ITS, EC, SE" <alex.shiell@s...> on Fri, 29 Jun 2001 15:10:57 +0100
exactly - there is no way that a web application can access the clients 

file

system, it has been designed this way for security purpouses.



-----Original Message-----

From: phil griffiths [mailto:pgtips@m...]

Sent: 29 June 2001 16:02

To: ASP Web HowTo

Subject: [asp_web_howto] Re: file system object on client's mechine





No No No No No!  ASP runs server side only so there is no way you are

going to access client-side stuff.  How would you like it if a web page 



you were viewing started messing around with files on your computer? 



> Hi!!!! Friends

>

> I wanna know if there is a way i can create file

> system object on client's mechine with my ASP page...

>

> i have tried making an active X control too but it

> says active X control can not make objects....

>

> any clues???

>

> the only success i got is that i could manage to send

> the coding on a client mechine via XML but how can i

> manage to retrive that coding as an script and execute

> it????

>

> thanks

> praveen

>



Message #4 by praveen sehgal <bobby_sehgal_99@y...> on Sat, 30 Jun 2001 06:40:02 -0700 (PDT)
Hi!!! Friends



I know internet is designed that way...but if i go to

internet options --> security-->customs...and make

changes there (like set enable to script activeX

controls)then it allows you to create fso on client

mechine...



well i applied a logic, I wrote the program under one

tag and safed it as XML...then i made an html file on

server and in that i called that XML and send that

html to client...now client have a html file and a

XMLDOM(which have code to create fso)..i then

retrieved that code from xml into a variable on a

client mechine...(remember now i am on a client

mechine) then i passed that variable as a parameter to

another function...and executed it there (that

variable is a code to make fso)but still it doesn't

allow to create fso?? why??? now everything is taking

place on a client mechine???



how do html call other applications?? i mean when you

use <bgsound> tag it automatically evoke application

to play a sound?? how can you do that with xml?? to

evoke application that execute it??



in my case its executing the code but its not allowing

me to create fso??



any ideas??



thanks

bobby



--- "Alex Shiell, ITS, EC, SE"

<alex.shiell@s...> wrote:

> exactly - there is no way that a web application can

> access the clients file

> system, it has been designed this way for security

> purpouses.

> 

> -----Original Message-----

> From: phil griffiths

> [mailto:pgtips@m...]

> Sent: 29 June 2001 16:02

> To: ASP Web HowTo

> Subject: [asp_web_howto] Re: file system object on

> client's mechine

> 

> 

> No No No No No!  ASP runs server side only so there

> is no way you are 

> going to access client-side stuff.  How would you

> like it if a web page 

> you were viewing started messing around with files

> on your computer?  

> 

> > Hi!!!! Friends

> > 

> > I wanna know if there is a way i can create file

> > system object on client's mechine with my ASP

> page...

> > 

> > i have tried making an active X control too but it

> > says active X control can not make objects....

> > 

> > any clues???

> > 

> > the only success i got is that i could manage to

> send

> > the coding on a client mechine via XML but how can

> i

> > manage to retrive that coding as an script and

> execute

> > it????

> > 

> > thanks

> > praveen




  Return to Index