i use this service menu i created myself (but it works, not broken even if its G0NZ0-made

), i paste the content here below the star line.
Assuming you're using KDE, copy the text below and save the file as upload_to_server.desktop
Then place it in /home/USERNAME/.kde/share/apps/konqueror/servicemenus
You need to replace the entries in upper case letters with your server address and paths of users.
Also, this does not change the permission of the file, it you want to change them in a way that the file on the server is not readable to anyone else other than owner then replace
scp -p
with
scp
**************************************************
Quote:
[Desktop Entry]
Actions=upload_to_server
ServiceTypes=all/allfiles
Encoding=UTF8
[Desktop Action upload_to_server]
Name=Upload to server
Exec=dcop klipper klipper setClipboardContents; scp -p %u USERNAME@WEBSERVER.DOMAIN UBLIC_HTML/%n; dcop klipper klipper setClipboardContents "http://YOURSITEADDRESS/%n"; konqueror http://YOURSITEADDRESS/%n
Icon=network[/b]
|