Connect to a remote system using Javascript

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mrcoolguy
    New Member
    • Mar 2008
    • 1

    Connect to a remote system using Javascript

    Hi ppl
    Is it possible to connect to a remote host(whose IP address is known) and download a file on the remote host using Javascript.If yes then How do we do it??
    If no,then how can we get the desired functionality when the other script is in HTML+Javascript .
    Please Help ASAP.
    tHANKS iN ADVANCE

    Aditya Darbha
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Cross-domain access is not available to JavaScript, but you can use some server-side code to make a Http request to the other domain. Then make an Ajax request to this script on your domain which passes the request on to the other domain, aka. cross-domain proxy.

    Comment

    Working...