|
Page Updated: December 08, 2004
Latest Version: 0.1.359 |
|
Debug |
Install | File
I/O |
RDF |
Network |
Sound | Utils |
XUL | Zip
|
|
|
Home | Mailing List |
Install |
Source Code |
Downloads | Bugs
| docs
| clients |
Remote File
Function List
- open();
- Open a url
- read();
- Read a remote file.
- nsIURI;
- Get a nsIURI object [xpconnect wrapped nsIURI]
- contentType;
- The content type of the remote file.
- exists();
- Bool to see if the remote file exists.
- lastModified;
- The date last modified time of the remote file. (not always available)
Example:
(this sample can be launched using the following command)
./mozilla -P default -chrome chrome://jslib/content/samples/remotefile.xul