Thnx Peter. Okay..now lets see if I've understood you.

In the normal case when I use FTP through Firefox I use an FTP API
which is natively available in Mozilla/Firefox.

But Firefox doesn't have an API at all for Sftp..which means that I'll
have to write an API for it. So is it ok if I use "sshlib" or some
other third party library, use C++ to use the API's it offers and
write the entire code to access the Sftp server in C++.Okay...so now I
have the entire code ..completely independent from Firefox in C++. So
I can invoke this code and can get connected to the Sftp
server...right???

The next thing now is to make Mozilla somehow understand that it has
to just try and call this C++ code. No SFTP functionality will be
written here. As soon as the user enters "username" and "password" and
hits "GO" the entire C++ code is called and I'm connected.Is there an
interface to achieve this?

So I'm not writing any of the Sftp functionality in Firefox itself.
I'm telling Firefox..."Just call the C++ code".

Does this make any sense and if it is will the code be portable?

Thnx
Arvind

_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to