473,325 Members | 2,671 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Can you read a file at a URL location using vbscript or javascript?

I would appreciate a response on this.

I have clients who will be placing text files information about in a
network directory for example: http://www.protegen.com/clients/

Is it possible to read these text files using either vbscript or
javascript. What I am attempting to do is to read these files and then
create charts for viewing by each client.

A direct email to me at do************@protegen.com will help.
Thanks for you response.

Douglas Taylor
Email: do************@protegen.com
Protegen Business Intelligence
www.protegen.com
Jul 20 '05 #1
5 6310
Hi,

Doug wrote:
I would appreciate a response on this.

I have clients who will be placing text files information about in a
network directory for example: http://www.protegen.com/clients/

Is it possible to read these text files using either vbscript or
javascript. What I am attempting to do is to read these files and then
create charts for viewing by each client.

A direct email to me at do************@protegen.com will help.
Thanks for you response.

Douglas Taylor
Email: do************@protegen.com
Protegen Business Intelligence
www.protegen.com


One way it to script a Java applet:
http://www.galasoft-LB.ch/myjava/Web...Demo/Demo.html

Laurent
--
Laurent Bugnion, GalaSoft
Webdesign, Java, javascript: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch

Jul 20 '05 #2

"Doug" <do************@protegen.com> wrote in message
news:6c**************************@posting.google.c om...
I would appreciate a response on this.

I have clients who will be placing text files information about in a
network directory for example: http://www.protegen.com/clients/

Is it possible to read these text files using either vbscript or
javascript. What I am attempting to do is to read these files and then
create charts for viewing by each client.

A direct email to me at do************@protegen.com will help.
Thanks for you response.

Douglas Taylor
Email: do************@protegen.com
Protegen Business Intelligence
www.protegen.com


If your script is being hosted from the same domain as the files in
question, you can load the file up in an IFRAME, and use Javascript to peek
into the frame's DOM, getting the data.

If your script is being hosted in a different domain, there are security
restrictions put in Javascript that prevent frames from viewing each
other... Unless you use HTA, where the restrictions are lifted, but this is
not browser portable (Only works with IE 5+).

Brian

Jul 20 '05 #3
>
One way it to script a Java applet:
http://www.galasoft-LB.ch/myjava/Web...Demo/Demo.html

Laurent


Laurent,

Thanks for your response. Your demo is great and it allows me to read
files that already exist. However, I don't think your Java applet will
work for my particular situation.

What I am attempting to do is create an automated way of processing my
clients files. I would like to read the files from the client's
network directory, and then trigger an application on my server to
create charts.

Any thoughts?

Douglas Taylor
Email: do************@protegen.com
Protegen Business Intelligence
www.protegen.com
Jul 20 '05 #4

"Doug" <do************@protegen.com> wrote in message
news:6c**************************@posting.google.c om...

One way it to script a Java applet:
http://www.galasoft-LB.ch/myjava/Web...Demo/Demo.html

Laurent


Laurent,

Thanks for your response. Your demo is great and it allows me to read
files that already exist. However, I don't think your Java applet will
work for my particular situation.

What I am attempting to do is create an automated way of processing my
clients files. I would like to read the files from the client's
network directory, and then trigger an application on my server to
create charts.

Any thoughts?

Douglas Taylor
Email: do************@protegen.com
Protegen Business Intelligence
www.protegen.com


In that case, you can likely pipe the data back to the browser, using a mime
type of your file type.
Jul 20 '05 #5
Hi,

Doug wrote:
One way it to script a Java applet:
http://www.galasoft-LB.ch/myjava/Web...Demo/Demo.html

Laurent

Laurent,

Thanks for your response. Your demo is great and it allows me to read
files that already exist. However, I don't think your Java applet will
work for my particular situation.

What I am attempting to do is create an automated way of processing my
clients files. I would like to read the files from the client's
network directory, and then trigger an application on my server to
create charts.

Any thoughts?

Douglas Taylor


Thanks for the compliment.

If I were you, I would pass everything on the server, and have the
server read your client's files (given that it can access them at all,
which would be a precondition), and then process the charts.

It would be more reliable in any case.

HTH,

Laurent
--
Laurent Bugnion, GalaSoft
Webdesign, Java, javascript: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch

Jul 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Andrea | last post by:
Hi everyone, I am in the process of learning javascript and have a question on location.href. Does javascript always require the <script language = "javascript"> (or script...
12
by: zhisol | last post by:
how can i check if file exist in current directory (in javascript)? -- pozdr;) zhisol
2
by: Reply Via Newsgroup | last post by:
Folks, I'm pretty sure it can be done, and I'm doing pretty good with my javascript so I'm pretty sure I just need a quick point in the right direction... If my web page is referenced in the...
2
by: Ruskin | last post by:
I have developed an upload tool, that allows users to upload files (funny that). The asp form object has a 'SizeLimit' property that can be set, to prevent files being uploaded, that are too large....
6
by: Guy Doucet | last post by:
Hi, If I have a link to a URL such as <a href="http://www.mysite.com/somecode.htm?5">Link1</a>, and if I include javascript in the somecode.htm file, is there a javascript command that I can...
3
by: Jax | last post by:
Can i change the location of a control in ASP.NET? I'd like to have the ability to change an images' location on the pressing of little arrows on the same page to resize and move the image around....
10
by: sonny | last post by:
Is there a way to do it? thx...sonny
3
by: toffee | last post by:
Hi all, I got a pre-formatted spreadsheet. would it be possible using js to copy the data from a table on the current webpage, open the spreadsheet and paste the content ? if so, anyone got any...
6
by: raymond_b_jimenez | last post by:
I need to download a file from an Intranet web site and feed it into a program on the PC where the browser is running. Browser is Internet Explorer. Both Javascript and VBscript are options. Which...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.