Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-15-2010, 05:56 PM   PM User | #1
Rcartwright
New to the CF scene

 
Join Date: Oct 2009
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Rcartwright is an unknown quantity at this point
New to Ajax, need suggestion.

I am very new to web development and I need a push in the right direction here. This is my problem; I am making a web page that will be used privately by two people. I need to find a way to go to an FTP site that can only be accessed by web browser (that is what IT told me) and download a file that has a constant name "prevhour.log" and save this file to a directory so that it can be read (not sure how, my boss is doing that end) and the data will be dumped, and this data will be extrapolated into a gas gauge style dashboard. I need some way of this to be done as automated as possible. Thank you for your time.

Rick

Last edited by Rcartwright; 05-16-2010 at 02:35 AM..
Rcartwright is offline   Reply With Quote
Old 05-15-2010, 08:42 PM   PM User | #2
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,044
Thanks: 197
Thanked 2,412 Times in 2,390 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
Do please read the posting guidelines regarding silly thread titles. The thread title is supposed to help people who have a similar problem in future. Yours is useless for this purpose. You can (and should) edit it to make it more meaningful.


The answer to your enquiry is AJAX. JavaScript is purely a client-side language, and unless used with an Ajax call has no capability to read from or write to a file (except a cookie), communicate with the server, access a database, the client's operating system or the Windows registry, or alter the default behaviour of the browser.

In IE only it is possible in certain circumstances to use ActiveX objects to access the directory and read files. This is not recommended for a variety of reasons.






It is your responsibility to die() if necessary….. - PHP Manual
Philip M is online now   Reply With Quote
Old 05-16-2010, 02:36 AM   PM User | #3
Rcartwright
New to the CF scene

 
Join Date: Oct 2009
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Rcartwright is an unknown quantity at this point
Now that I know what it is called and where to go (that direction stuff that I was asking for) I will change it, thank you.
Rcartwright is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:04 PM.


Advertisement
Log in to turn off these ads.