maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Send recieve files over WIFI like dukto (https://talk.maemo.org/showthread.php?t=66973)

j.s 2010-12-17 19:21

Re: Send recieve files over WIFI like dukto
 
Quote:

Originally Posted by gsever (Post 898253)
@SubCore,

I can't seem to give exec permission by chmod +x Dukto, either in user or root mode. The command runs but ls -l Dukto doesn't show x in the listing. Very interesting. Any ideas?

What is the exact directory path the file Dukto is in?

maemo mounts Mydocs with the noexec option by default. Executable files should be kept in /home/user, /usr/local/bin or some similar place.

gsever 2010-12-17 19:57

Re: Send recieve files over WIFI like dukto
 
j.s
I didnt know that we cant set exec permission under MyDocs. Thanks for the tip. It works now.

colm.smyth 2010-12-19 09:03

Re: Send recieve files over WIFI like dukto
 
Any more updates on this app, would be great to see this in Extras with a GUI on it...SubCore, i think you were going to try put one on ?

SubCore 2010-12-19 16:00

Re: Send recieve files over WIFI like dukto
 
1 Attachment(s)
Quote:

Originally Posted by colm.smyth (Post 899834)
Any more updates on this app, would be great to see this in Extras with a GUI on it...SubCore, i think you were going to try put one on ?

and you were right ;)
(edit: not in Extras, though. it's available on ovi already so i'm not going to upload it to Extras.)

i have had trouble tracking down a sporadic segfault when receiving multiple files (probably the error zappa reported, i didn't notice it earlier).

therefore i went back to the desktop build, which runs much more stable (as in "hasn't crashed once yet"). i have now rearranged it's layout so it plays more nicely with maemo's hildonization.

any feedback welcome. i'm particularly interested if the layout works for everyone and if anybody experiences crashes when receiving multiple files...

i have attached the .deb file QtCreator spit out, and i even added a .desktop file (icon doesn't work yet though *g*)...
don't have any more time today, so for the moment you'll have to live without icon (unless Veleno repackages it properly ;) ).
oh, and without sending multiple files - haven't had a chance to look at that, either...

but everything else works well now ;)
will send my changes to Emanuele so he can integrate them and upload to ovi store.

colm.smyth 2010-12-19 16:35

Re: Send recieve files over WIFI like dukto
 
just installed the attached, clicked the icon but nothing happens ? can you giive brief instructions on how to send a file ?

SubCore 2010-12-19 16:40

Re: Send recieve files over WIFI like dukto
 
Quote:

Originally Posted by colm.smyth (Post 900022)
just installed the attached, clicked the icon but nothing happens ? can you giive brief instructions on how to send a file ?

well you have to have it running on a second host as well. then you can transfer files between them. its name should show in the "buddies" list if both are on the same subnet (wifi, doubt 3g will work).

colm.smyth 2010-12-19 20:21

Re: Send recieve files over WIFI like dukto
 
Quote:

Originally Posted by SubCore (Post 900026)
well you have to have it running on a second host as well. then you can transfer files between them. its name should show in the "buddies" list if both are on the same subnet (wifi, doubt 3g will work).

ohhh i thought it would just let me send files to another phone/pc/laptop etc via wifi.

how can i snd a file from my N900 to my Macbook using this, what do i install on the Macbook ?

cheers

SubCore 2010-12-19 21:27

Re: Send recieve files over WIFI like dukto
 
Quote:

Originally Posted by colm.smyth (Post 900097)
how can i snd a file from my N900 to my Macbook using this, what do i install on the Macbook ?

there's a mac os x version available on the project's download page.

kolos 2010-12-19 21:47

Re: Send recieve files over WIFI like dukto
 
Dutko's offical homepage is here. It supports all major desktop OSes.

zimon 2010-12-19 22:14

Re: Send recieve files over WIFI like dukto
 
So, this is like OBEX over WLAN, but does it actually use OBEX standard?

Clipboard-endpoints would be nice extra app someone could develop over this. So one could choose BT, WLAN or IR to send clipboard content back and forth, and in both ends would be this clipboard-servent doing the top level communication with the system clipboard. It has been talked before also in talk.maemo.org.

etuoyo 2010-12-19 22:48

Re: Send recieve files over WIFI like dukto
 
Installed the deb file and rebooted but can't get the app to open. Any ideas?

colm.smyth 2010-12-20 07:06

Re: Send recieve files over WIFI like dukto
 
Quote:

Originally Posted by etuoyo (Post 900165)
Installed the deb file and rebooted but can't get the app to open. Any ideas?

Same issue here, when i click the icon on the N900 it stays highlighted but nothing opens ?

Please help

Carlito 2010-12-20 07:36

Re: Send recieve files over WIFI like dukto
 
me too . . .

SubCore 2010-12-20 10:16

Re: Send recieve files over WIFI like dukto
 
that's strange...
does it run when you start it via XTerm?
Code:

/opt/dukto/Dukto
if you get "permission denied", the executable flag probably wasn't set correctly... in that case,
Code:

sudo gainroot
chmod +x /opt/dukto/Dukto

should do the trick.

i tested it a few times and was quite sure i had this covered, but i don't have a "clean" N900 to verify it on :)

maybe i ought to create the package within scratchbox instead of QtCreator...

Carlito 2010-12-20 10:26

Re: Send recieve files over WIFI like dukto
 
@SubCore

Did the trick for me! Thanks! Great program!

colm.smyth 2010-12-20 10:28

Re: Send recieve files over WIFI like dukto
 
Quote:

Originally Posted by SubCore (Post 900427)
that's strange...
does it run when you start it via XTerm?
Code:

/opt/dukto/Dukto
if you get "permission denied", the executable flag probably wasn't set correctly... in that case,
Code:

chmod +x /opt/dukto/Dukto
should do the trick.

i tested it a few times and was quite sure i had this covered, but i don't have a "clean" N900 to verify it on :)

maybe i ought to create the package within scratchbox instead of QtCreator...

yes tried this and got permission denied so i have done what you said, but what then, when i try to run again via xTerm i get same permission denied ?

SubCore 2010-12-20 10:33

Re: Send recieve files over WIFI like dukto
 
Quote:

Originally Posted by colm.smyth (Post 900437)
yes tried this and got permission denied so i have done what you said, but what then, when i try to run again via xTerm i get same permission denied ?

what's the output of
Code:

ls -l /opt/dukto/Dukto
watch out, it's case sensitive! the folder is with a small "d", the binary itself with a capital "D".

Carlito 2010-12-20 10:34

Re: Send recieve files over WIFI like dukto
 
Is it also possible to add Buddies to the list?

SubCore 2010-12-20 10:36

Re: Send recieve files over WIFI like dukto
 
Quote:

Originally Posted by Carlito (Post 900444)
Is it also possible to add Buddies to the list?

this list gets filled automatically with every machine running an instance of dukto on your subnet.

if you start dukto on your PC, and it's on the same subnet as your N900, it will show up there.

colm.smyth 2010-12-20 10:40

Re: Send recieve files over WIFI like dukto
 
Quote:

Originally Posted by SubCore (Post 900441)
what's the output of
Code:

ls -l /opt/dukto/Dukto
watch out, it's case sensitive! the folder is with a small "d", the binary itself with a capital "D".

when doing this i got -rw-r--r-- 1 root root 203430 Dec 19 16:00 /opt/dukto/Dukto

SubCore 2010-12-20 10:48

Re: Send recieve files over WIFI like dukto
 
Quote:

Originally Posted by colm.smyth (Post 900451)
when doing this i got -rw-r--r-- 1 root root 203430 Dec 19 16:00 /opt/dukto/Dukto

you didn't execute the chmod command correctly, the permissions should read
Code:

-rwx-r-x-r-x
maybe you made a typo somewhere when running chmod?

i'll upload a fixed package later today (or perhaps tomorrow).

etuoyo 2010-12-20 11:25

Re: Send recieve files over WIFI like dukto
 
Quote:

Originally Posted by SubCore (Post 900427)
that's strange...
does it run when you start it via XTerm?
Code:

/opt/dukto/Dukto
if you get "permission denied", the executable flag probably wasn't set correctly... in that case,
Code:

chmod +x /opt/dukto/Dukto
should do the trick.

i tested it a few times and was quite sure i had this covered, but i don't have a "clean" N900 to verify it on :)

maybe i ought to create the package within scratchbox instead of QtCreator...

That worked. Had to run
Code:

chmod +x /opt/dukto/Dukto
as root though. Now it is working. Thanks.

Tried it out. Works great. Except I cannot see how to send multiple files. Is there a way to do so (or to send a folder)?

Want to use to backup my conboy notes to PC and send them back after editing on PC instead of WinScp because WinSCP locks files as user so I am unable to edit them on PC when I receive them back to my N900.

[Knuckles] 2012-07-10 15:24

Re: Send recieve files over WIFI like dukto
 
I've had my N900 since early 2010 and only discovered this today.

PEOPLE NEED TO KNOW! :D

But seriously, uploading the package to extras-devel would be awesome.
Probably it would be used a lot more if people knew about it.

4n77r4xX 2012-07-12 12:47

Re: Send recieve files over WIFI like dukto
 
Try WinSCP . install on your pc and install SSH on your N900. It works very good for me ...

zaidk9 2014-04-02 11:59

Re: Send recieve files over WIFI like dukto
 
Any Way To get this on N9???

juiceme 2014-04-02 13:49

Re: Send recieve files over WIFI like dukto
 
Quote:

Originally Posted by zaidk9 (Post 1419583)
Any Way To get this on N9???

Use sftp. It just works, no gimmics required.

zaidk9 2014-04-04 07:05

Link to description??

juiceme 2014-04-04 07:14

Re: Send recieve files over WIFI like dukto
 
Quote:

Originally Posted by zaidk9 (Post 1419841)
Link to description??


What? I do not understand your request...?

juice@puuma:~$
juice@puuma:~$ sftp user@juicen_n9
Connecting to juicen_n9...
user@juicen_n9's password:
sftp> ls
MyDocs TIMED-BACKUP my_saved_sms_messages.txt private smsExport
sftp> get my_saved_sms_messages.txt
Fetching /home/user/my_saved_sms_messages.txt to my_saved_sms_messages.txt
/home/user/my_saved_sms_messages.txt ........................................ 100% 362KB 361.8KB/s 00:00
sftp> bye
juice@puuma:~$

pistachio 2014-11-20 13:04

Re: Send recieve files over WIFI like dukto
 
If anyone can port this app to N9, it will be a perfect wi-fi communication/file-transfer medium between all the most used OSs nowadays like symbian, windows ,linux, iOS, mac, android and blackberry including maemo. Only meego is left. :confused:

juiceme 2014-11-20 13:42

Re: Send recieve files over WIFI like dukto
 
See my post just above, hmm?

pistachio 2014-11-20 17:31

Re: Send recieve files over WIFI like dukto
 
Quote:

Originally Posted by juiceme (Post 1448361)
See my post just above, hmm?

Yes, i have read, thanks for a great solution. But everyone is not comfortable with command lines. i.e. my gf.. :)

Using an app with gui is much faster and convenient solution imo. And setting up sftp with every os is different procedure i guess.

pichlo 2014-11-20 17:35

Re: Send recieve files over WIFI like dukto
 
Use WinSCP then.

scy 2014-11-28 20:33

Re: Send recieve files over WIFI like dukto
 
Thanks for this "dukto"!

This version works in N900:
http://talk.maemo.org/showpost.php?p...4&postcount=44

dukto works fine in N900 together with Android and Linux. I like it, as I was looking for something like KDEconnect for the N900.

Other command line solutions like sshfs scp or the like are good for larger file transfers. But, I was looking for sending small text snippets of the stuff I place into the clipboard.


All times are GMT. The time now is 04:57.

vBulletin® Version 3.8.8