[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 187
  • Last Modified:

Javascript extraction of file info from a domain browser window.

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
nutronstar
Asked:
nutronstar
1 Solution
 
ZvonkoSystems architectCommented:
In JavaScript you cannot use ftp protocol with JavaScript Document Object Model. The DOM instantiates only http and https protocol document object model.
0
 
Michel PlungjanIT ExpertCommented:
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now