Ask a Question related to ASP.NET General, Design and Development.
-
Ajit #1
check Existance of a file on different machine
Is there anyway to check for existance of a file on different machine.
i.e. we have a data file (text file) thats stored on some other machine as
its not to be exposed in case the web server is hacked.
and we want to update data from this text file into our database.
I know file object but it works only locally.(i.e. work with files stored on
local drive)
If anyone could help me it will be great.
Ajit Guest
-
Testing existance of a datagrid control on a webform
Hi all, I have a usercontrol (a textbox with dropdown calendar that fills the textbox with the selected date) that I implement in a datagrid in a... -
Check for existance of a temp table
Hello- Is there a way to check for the existance of a temp table? Thanks Don -
Testing for the existance of an Application() variable
How about this: theLetter="G" If len(Application(theLetter)) > 0 then HTH, Bob Barrows -
Test an Array for existance before processing data
I need to set up an If statement to test if an array exists and process a block of code if it does, do nothing if it does not. I have tried the... -
Machine Check Exception
Running Intel 2.0 processor, Win XP Pro, 512 DDR 2700 RAM,all of a sudden computer starts rebooting constantly and will not stop. Finally the "BLUE... -
CT #2
Re: check Existance of a file on different machine
Would a Web service on the server with the text file not do? The Web service
can then use the File object and return status to the Web service consumer
on your Web server.
--
Carsten Thomsen
[email]carstent@SPAMMERSDROPOUTdotnetservices.biz[/email]
"Ajit" <adeogade@thedebtmediator.com> wrote in message
news:e6hOwInRDHA.2232@TK2MSFTNGP11.phx.gbl...on> Is there anyway to check for existance of a file on different machine.
> i.e. we have a data file (text file) thats stored on some other machine as
> its not to be exposed in case the web server is hacked.
> and we want to update data from this text file into our database.
>
> I know file object but it works only locally.(i.e. work with files stored> local drive)
>
> If anyone could help me it will be great.
>
>
>
>
CT Guest
-
Kevin Spencer #3
Re: check Existance of a file on different machine
The System.IO.File class is NOT designed for mere local machine access to
files. It can access any files on any machine in the local machine's
network, as long as it has permission. It can certainly use UNCs.
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
[url]http://www.takempis.com[/url]
Big things are made up
of lots of little things
"Ajit" <adeogade@thedebtmediator.com> wrote in message
news:e6hOwInRDHA.2232@TK2MSFTNGP11.phx.gbl...on> Is there anyway to check for existance of a file on different machine.
> i.e. we have a data file (text file) thats stored on some other machine as
> its not to be exposed in case the web server is hacked.
> and we want to update data from this text file into our database.
>
> I know file object but it works only locally.(i.e. work with files stored> local drive)
>
> If anyone could help me it will be great.
>
>
>
>
Kevin Spencer Guest
-
Santastp #4
Re: check Existance of a file on different machine
I'm not a king in that, but try to see what you can do with WMI.
I already use WMI and I see that you can do a lot of thing remotely.
But I think it's depends of the version of Windows that you want to ask.
"Ajit" <adeogade@thedebtmediator.com> wrote in message
news:e6hOwInRDHA.2232@TK2MSFTNGP11.phx.gbl...on> Is there anyway to check for existance of a file on different machine.
> i.e. we have a data file (text file) thats stored on some other machine as
> its not to be exposed in case the web server is hacked.
> and we want to update data from this text file into our database.
>
> I know file object but it works only locally.(i.e. work with files stored> local drive)
>
> If anyone could help me it will be great.
>
>
>
>
Santastp Guest



Reply With Quote

