read file from url on different server

read file from url on different server

am 11.04.2008 18:53:42 von Shailesh Patel

Hi,
How do I write on my browser file located on another server with asp.net?
I am using AJAX javascript but I get access denied error.

Any clue is appreciated.

Thank you in advance.

Shailesh

RE: read file from url on different server

am 11.04.2008 19:51:01 von pbromberg

This has nothing to do with ASP.NET particularly. Cross - domain security
policy makes it impossible to write from a client page in a browser to a file
at the server.
You would need to have a receiving "page" on the target machine that would
be able to process a POST of the file.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short Urls & more: http://ittyurl.net


"Shailesh Patel" wrote:

> Hi,
> How do I write on my browser file located on another server with asp.net?
> I am using AJAX javascript but I get access denied error.
>
> Any clue is appreciated.
>
> Thank you in advance.
>
> Shailesh
>
>
>