Have you read http://developer.mozilla.org/en/docs/XMLHttpRequest? XMLHttpRequest is the easiest way.
----- Original Message ---- From: Amin <[EMAIL PROTECTED]> To: Mozdev Project Owners List <[email protected]> Sent: Monday, December 25, 2006 11:10:25 AM Subject: Re: [Project_owners] how can work with FTP i want to update my extension ,my extension need a text file to be update, no important from FTP or Http ,.... any good method ? On 12/25/06, Neil <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote: > If you *must* use FTP, I believe the only way is to do like the > FireFTP extension does--implement the FTP protocol yourself over the > XPCOM socket interfaces. Needless to say, that's a large task. Is > there any way you can host the file(s) on a web server? If so, you can > retrieve them really easily with XmlHttpRequest() (even if the file > isn't xml) or inputstreams. I'm sure input streams work on FTP channels too. In fact, Gecko also includes FTP upload, but not (yet!) the other things FireFTP does such as rename or delete. _______________________________________________ Project_owners mailing list [email protected] http://mozdev.org/mailman/listinfo/project_owners _______________________________________________ Project_owners mailing list [email protected] http://mozdev.org/mailman/listinfo/project_owners
_______________________________________________ Project_owners mailing list [email protected] http://mozdev.org/mailman/listinfo/project_owners
