upload to ftp servicemenu
  1. [Desktop Entry]
  2. Actions=UploadFileToFtp;
  3. Type=Service
  4. MimeType=application/octet-stream;
  5. X-KDE-ServiceTypes=KonqPopupMenu/Plugin
  6.  
  7. [Desktop Action UploadFileToFtp]
  8. Exec=kdialog --yesno "Opravdu odeslat soubor? " --title "Upload to web" &&ncftpput -u user -p pass host /path/to/uploaddir/ %U &&qdbus org.kde.klipper /klipper org.kde.klipper.klipper.setClipboardContents "http://host/path/to/uploaddir/$(basename %U)" &&firefox --new-tab "http://host/path/to/uploaddir/$(basename %U)"
  9. Icon=network
  10. Name=Upload to FTP
Parsed in 0.004 seconds