Hi there,
I'd like to know if it is possible to write my-own plugin for 7-zip.
In details I would like to makes the current path accessible through an FTP server I wrote.
Is 7-zip "plug-in-able" in such way?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I thought it would be funny to integrate pyftpdlib into 7-zip in form of plug-in to makes the current path accessible through FTP.
A similar thing has been done for FarManager, a file manager for Windows systems similar to 7-zip: http://enforum.farmanager.com/viewtopic.php?t=640 http://farmanager.com/
What do you think about this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
well.. funny it would be, and useful at times, but an ftp virtual filesystem would be better, for I need to down/up load from/to an external ftp server more often.
Either way, it would be interesting to see how you can make plug-in for 7-zip in python: I do not think it was foreseen.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I do not know either, but since third party plug-ins were developed in the past, I guess the answer is yes.
Notice that the very capability to extract/compress is implemented as a plug-in in the GUI.
I also fear you will need to read the code of some standard plug-in for reference.
Indeed, now that I think of it, a plugin to "embedd" the python interpreter could be a first step towards your goal, or do you think it would be overkill?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> I do not know either, but since third party
> plug-ins were developed in the past, I guess
> the answer is yes.
Good. The first step is finding out such API.
> Indeed, now that I think of it, a plugin to
> "embedd" the python interpreter could be a
> first step towards your goal, or do you
> think it would be overkill?
I think it would be an overkill.
Generally the right thing to do in such cases is writing a "wrapper" of the C/C++ API and then access to it directly from Python.
Hi there,
I'd like to know if it is possible to write my-own plugin for 7-zip.
In details I would like to makes the current path accessible through an FTP server I wrote.
Is 7-zip "plug-in-able" in such way?
7-Zip supports plugins.
I'm the maintainer of a FTP server library written in Python:
http://code.google.com/p/pyftpdlib/
I thought it would be funny to integrate pyftpdlib into 7-zip in form of plug-in to makes the current path accessible through FTP.
A similar thing has been done for FarManager, a file manager for Windows systems similar to 7-zip:
http://enforum.farmanager.com/viewtopic.php?t=640
http://farmanager.com/
What do you think about this?
well.. funny it would be, and useful at times, but an ftp virtual filesystem would be better, for I need to down/up load from/to an external ftp server more often.
Either way, it would be interesting to see how you can make plug-in for 7-zip in python: I do not think it was foreseen.
Actually, I have no idea about how doing such a stuff.
How can I write a plug-in?
Does it exist some kind of "7-zip API"?
- Does it exist some kind of "7-zip API"?
Yes. But there are no docs. So you must study source code of 7-zip.
I do not know either, but since third party plug-ins were developed in the past, I guess the answer is yes.
Notice that the very capability to extract/compress is implemented as a plug-in in the GUI.
I also fear you will need to read the code of some standard plug-in for reference.
Indeed, now that I think of it, a plugin to "embedd" the python interpreter could be a first step towards your goal, or do you think it would be overkill?
> I do not know either, but since third party
> plug-ins were developed in the past, I guess
> the answer is yes.
Good. The first step is finding out such API.
> Indeed, now that I think of it, a plugin to
> "embedd" the python interpreter could be a
> first step towards your goal, or do you
> think it would be overkill?
I think it would be an overkill.
Generally the right thing to do in such cases is writing a "wrapper" of the C/C++ API and then access to it directly from Python.
Dumb example:
>>> import 7-zipapi
>>> 7-zipapi.compress('file.ext')
Regardless of such plug-in in particular it would be useful having a such kind of wrapper in any case.