469,361 Members | 2,318 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,361 developers. It's quick & easy.

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
Mar 25 '08 #1
1 1318
acoder
16,027 Expert Mod 8TB
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.
Mar 25 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

7 posts views Thread by Michi Henning | last post: by
5 posts views Thread by Mike L | last post: by
1 post views Thread by Antonello Calabṛ | last post: by
5 posts views Thread by toupeira23 | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.