Solved

Javascript extraction of file info from a domain browser window.

Posted on 2008-06-10
2
180 Views
Last Modified: 2008-08-20
I have generated a browser window in Javascript using:  window.location = "ftp://domain"  I would like to browse to a file of interest and then extract the path to that file.  I am somewhat new to Javascript and am wondering whether a Treewalker object should do the trick?
0
Comment
Question by:nutronstar
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 63

Expert Comment

by:Zvonko
ID: 21758605
In JavaScript you cannot use ftp protocol with JavaScript Document Object Model. The DOM instantiates only http and https protocol document object model.
0
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 500 total points
ID: 21758878
And even if you could, the javascript would not let you due to the "Same Origin" policy that stops you form monitoring sites from other domains, protocols or ports.
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question