Last indexation completed on 2024-09-29 08:14:11 UTC

This plugin receives packages with type "kdeconnect.sftp" and reads the following fields:
ip (string): ip of the currently active network on device port (string): port where sftp server starts user (string): username to connect to sftp server password (string): one session password to access sftp server path (string): root directory to access device filesystem
This plugin sends packages with type "kdeconnect.sftp" and fills the following fields:
startBrowsing (boolean): tell device to start sftp server and notify desktop

  Name Size Date (UTC) Last indexed Description
  Name Size Date (UTC) Last indexed Description
folder Parent directory - 2024-02-11 02:24:18

Writing a plugin for KDE Connect
For the desktop client (this project):
1. Enter the "plugins" directory. 2. Copy the "ping" under a different name ("findmyphone" in this example). 3. Add "add_subdirectory(findmyphone)" to CMakeLists.txt after the others "add_subdirectory". 4. Enter the new "findmyphone" directory. 5. Edit CMakeLists.txt by replacing "ping" with "findmyphone". 6. Rename other files in this directory by replacing "ping" with "findmyphone" 7. Write a description of your plugin into "README" 8. Edit findmyphoneplugin.cpp and findmyphoneplugin.h. A. Change license header. B. Replace (case sensitive) "ping" with "findmyphone", "PingPlugin" with "FindMyPhonePlugin" and "PING" with "FINDMYPHONE". 9. Edit kdeconnect_findmyphone.json file: A. Replace "ping" with "findmyphone". B. Change name, description, icon, author, email, version, website, license info. C. Remove all the translations D. Set X-KDEConnect-SupportedPacketType and X-KDEConnect-OutgoingPacketType to the packet type your plugin will receive and send, respectively. In this example this is "kdeconnect.findmyphone". Make sure that this matches what is defined in the findmyphoneplugin.h file (in the line "#define PACKET_TYPE_..."), and also in Android. 10. Now you have an empty skeleton to implement your new plugin logic.


SEE ALSO: README.txt

file CMakeLists.txt 583 bytes 2024-02-11 02:24:18 -  
file config-sftp.h.cmake 31 bytes 2024-02-11 02:24:18 -  
file kdeconnect_sftp.json 10492 bytes 2024-02-11 02:24:18 -  
file mounter.cpp 8602 bytes 2024-02-11 02:24:18 2024-09-29 07:22:39  
file mounter.h 989 bytes 2024-02-11 02:24:18 2024-09-29 07:22:39  
file mountloop.cpp 610 bytes 2024-02-11 02:24:18 2024-09-29 07:22:39  
file mountloop.h 495 bytes 2024-02-11 02:24:18 2024-09-29 07:22:39  
file README 545 bytes 2024-02-11 02:24:18 -  
file sftpplugin-win.cpp 3065 bytes 2024-02-11 02:24:18 2024-09-29 07:22:40  
file sftpplugin-win.h 1103 bytes 2024-02-11 02:24:18 2024-09-29 07:22:40  
file sftpplugin.cpp 4843 bytes 2024-02-11 02:24:18 2024-09-29 07:22:40  
file sftpplugin.h 1818 bytes 2024-02-11 02:24:18 2024-09-29 07:22:40