joe ertaba wrote:
Hi Shivanand,

I want to implement a ftp server base on Mozilla then use it for sending/receiving file from my other PC (it is a small home computer).

Firefox is always run on my PC, so it is good idea to implement server on that.

Hi Joe,

You could use PyXPCOM and then create an extension that handles the
loading of the ftp server, re-use an existing Python ftp server would be
relatively straight forward, such as:
http://code.google.com/p/pyftpdlib/

You'd include the pyftpdlib code in your extension, under the "pylib"
directory, then you can use PyDOM to import this code and play with it
directly, or create a Python XPCOM interface that wraps around the
necessary Python methods and is thus exposed to JavaScript.

Cheers,
Todd

_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners

Reply via email to