> I apologize for the confusion.
> I like to download a file (C:\dir1\data.txt) from server (IP address
> to my local machine which is running a Prototype
> javascript.
> How to do that?

The only way a session in your browser can access ANY resource from
the server is by firing off a new request - either a full page
request, or an Ajax request.

You probably want Ajax.Request (or Ajax.Updater if you're going to
display the file in your page); and  you need to write a server script
which will respond to the Ajax request and send the file contents.


You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to