Solved

Javascript extraction of file info from a domain browser window.

Posted on 2008-06-10
2
175 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
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
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…

747 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now