Ask a Question related to ASP, Design and Development.
-
Pejo #1
Question re: File System Object
I am presently pulling information from a specific text file that has to be
on a floppy (don't ask why...I gave up asking why a long time ago).
The application takes the info from the file stores it in a session array
and all is good from there.
I'm trying to figure a 'nice' way of error trapping and alerting the user
that he hasn't put the disk in or that the file isn't there etc.
I have limited experience with the FileSystemObject so that's why I'm
turning here.
I'd like to alert the user that they have not yet put the disk in and not
let them go on until the correct disk with the correct file is in their
drive.
Anyone have any similar code or can point me in a good direction?
Pejo
Pejo Guest
-
File system object in FLEX
Hi. im new to flex. i currently have a web site written in ASP www.4tune8.com that i want to rewrite using flex/flex builder, similar to the sample... -
File System Object question
I have about 200 documents to which I need to write a header and a footer. Appending (the footer) is easy, but I cannot figure out how to write to... -
Distributed File System question -
Hi all. I wonder if somebody could assist me. I'm going to be rolling out a Server 2003 network and I am attempting to get DFS working. I have... -
using file system object across network
I have a web site that uses NT authentication. It accesses a file on another server using FSO. The user has full control of that file yet when... -
File System object
Can you show your code... "Tom Williams" <t.b.williams@dur.ac.uk> wrote in message news:1057834808.688074@ananke.eclipse.net.uk... created. -
Aaron Bertrand - MVP #2
Re: Question re: File System Object
Couldn't you use on error resume next, and fso.fileexists? Something like:
set fso = createObject("Scripting.FileSystemObject")
on error resume next
x = fso.fileExists("a:\file.ext")
if err or not x then
response.write "Put the right disk in the drive."
response.end
end
continue
"Pejo" <pottymouthed@hotmail.com> wrote in message
news:_Vxlb.5758$XO.761861@news20.bellglobal.com...be> I am presently pulling information from a specific text file that has to> on a floppy (don't ask why...I gave up asking why a long time ago).
> The application takes the info from the file stores it in a session array
> and all is good from there.
>
> I'm trying to figure a 'nice' way of error trapping and alerting the user
> that he hasn't put the disk in or that the file isn't there etc.
>
> I have limited experience with the FileSystemObject so that's why I'm
> turning here.
> I'd like to alert the user that they have not yet put the disk in and not
> let them go on until the correct disk with the correct file is in their
> drive.
>
> Anyone have any similar code or can point me in a good direction?
>
> Pejo
>
>
Aaron Bertrand - MVP Guest
-
John Beschler #3
Question re: File System Object
Pardon me while I jump in here.
Do I understand correctly that you have users putting
floppy disks into your web server? And you are
comfortable with that level of risk?
Just curious,
John
file that has to be>-----Original Message-----
>I am presently pulling information from a specific texttime ago).>on a floppy (don't ask why...I gave up asking why a longa session array>The application takes the info from the file stores it inalerting the user>and all is good from there.
>
>I'm trying to figure a 'nice' way of error trapping andthere etc.>that he hasn't put the disk in or that the file isn'tthat's why I'm>
>I have limited experience with the FileSystemObject sodisk in and not>turning here.
>I'd like to alert the user that they have not yet put thefile is in their>let them go on until the correct disk with the correctdirection?>drive.
>
>Anyone have any similar code or can point me in a good>
>Pejo
>
>
>.
>John Beschler Guest
-
Pejo #4
Re: Question re: File System Object
Oh no not in the web server...That wouldn't be prudent in any situation.
Just in their workstation.
For security reasons we cannot have certain personal info reside on the
webservers
DB so I use a UID that matches up to a list on the disk which has the
details.
It is a very akward situation by the organization I work for is over the top
with security.
Believe it or not we are not even allowed wireless Mouse or keyboard as they
are seen as a security risk. I mean the keyboard ,..maybe someone could log
the strokes...but a mouse....
what good would logged coordinates be to anyone?
Thanks Aaaron for your help.
Pejo.
"John Beschler" <giles@geewhiz.com> wrote in message
news:006a01c398c8$1f29cc60$a601280a@phx.gbl...> Pardon me while I jump in here.
>
> Do I understand correctly that you have users putting
> floppy disks into your web server? And you are
> comfortable with that level of risk?
>
> Just curious,
> John
>
>
>> file that has to be> >-----Original Message-----
> >I am presently pulling information from a specific text> time ago).> >on a floppy (don't ask why...I gave up asking why a long> a session array> >The application takes the info from the file stores it in> alerting the user> >and all is good from there.
> >
> >I'm trying to figure a 'nice' way of error trapping and> there etc.> >that he hasn't put the disk in or that the file isn't> that's why I'm> >
> >I have limited experience with the FileSystemObject so> disk in and not> >turning here.
> >I'd like to alert the user that they have not yet put the> file is in their> >let them go on until the correct disk with the correct> direction?> >drive.
> >
> >Anyone have any similar code or can point me in a good> >
> >Pejo
> >
> >
> >.
> >
Pejo Guest
-
Tim Williams #5
Re: Question re: File System Object
Let me just check - your org is "over the top" about security, but they
allow browser settings low enough to be able to use the FSO in a web page?
That sounds a bit inconsistent.
Unless you have your server set as a trusted domain, allowing use of FSO in
a standard web page is asking for trouble.
Tim.
"Pejo" <pottymouthed@hotmail.com> wrote in message
news:BlPlb.4907$VQ3.404909@news20.bellglobal.com.. .top> Oh no not in the web server...That wouldn't be prudent in any situation.
> Just in their workstation.
> For security reasons we cannot have certain personal info reside on the
> webservers
> DB so I use a UID that matches up to a list on the disk which has the
> details.
> It is a very akward situation by the organization I work for is over thethey> with security.
> Believe it or not we are not even allowed wireless Mouse or keyboard aslog> are seen as a security risk. I mean the keyboard ,..maybe someone could> the strokes...but a mouse....
> what good would logged coordinates be to anyone?
>
> Thanks Aaaron for your help.
>
> Pejo.
>
> "John Beschler" <giles@geewhiz.com> wrote in message
> news:006a01c398c8$1f29cc60$a601280a@phx.gbl...>> > Pardon me while I jump in here.
> >
> > Do I understand correctly that you have users putting
> > floppy disks into your web server? And you are
> > comfortable with that level of risk?
> >
> > Just curious,
> > John
> >
> >
> >> > file that has to be> > >-----Original Message-----
> > >I am presently pulling information from a specific text> > time ago).> > >on a floppy (don't ask why...I gave up asking why a long> > a session array> > >The application takes the info from the file stores it in> > alerting the user> > >and all is good from there.
> > >
> > >I'm trying to figure a 'nice' way of error trapping and> > there etc.> > >that he hasn't put the disk in or that the file isn't> > that's why I'm> > >
> > >I have limited experience with the FileSystemObject so> > disk in and not> > >turning here.
> > >I'd like to alert the user that they have not yet put the> > file is in their> > >let them go on until the correct disk with the correct> > direction?> > >drive.
> > >
> > >Anyone have any similar code or can point me in a good> > >
> > >Pejo
> > >
> > >
> > >.
> > >
>
Tim Williams Guest



Reply With Quote

