|
2011-06-16
, 17:12
|
Posts: 19 |
Thanked: 3 times |
Joined on Jun 2010
@ New Jersey, USA
|
#12
|
|
2011-06-16
, 17:16
|
Posts: 543 |
Thanked: 181 times |
Joined on Aug 2009
@ Universe,LocalCluster.MilkyWay.Sol.Earth.Europe.Slovenia.Ljubljana
|
#13
|
I think a wiki page would be a good idea.
DerYo - I think it would be difficult to get ftp to work with this unless your ftp server does not require authentication. From what I remember, ftp expects interactive authentication, which this would not support. You may be able to point this plugin to a shell script that contains a "here" document. Google "ftp here script" for help with that.
An easier way is to use scp. Kulve's blog post from 3/2/10 describes the syntax. You would need ssh access to your server, though. You would also need to set up ssh key pairs on your server.
I tried this out today and all worked well.
|
2011-06-17
, 06:38
|
|
Posts: 1,391 |
Thanked: 4,272 times |
Joined on Sep 2007
@ Vienna, Austria
|
#14
|
DerYo - I think it would be difficult to get ftp to work with this unless your ftp server does not require authentication. From what I remember, ftp expects interactive authentication, which this would not support.
|
2011-06-17
, 18:36
|
Posts: 30 |
Thanked: 89 times |
Joined on Jan 2009
|
#15
|
lftp -c open -e "put %s -o %s" ftp://username:password@my.server.name/sub/dir/
The Following User Says Thank You to deryo For This Useful Post: | ||
|
2012-01-07
, 16:41
|
Posts: 72 |
Thanked: 53 times |
Joined on Jan 2012
@ Berlin, Germany
|
#16
|
#!/bin/sh for i in `seq 0.0 0.1 1.0` do sleep 1 echo $i done
|
2012-01-07
, 17:54
|
Posts: 59 |
Thanked: 66 times |
Joined on May 2007
|
#17
|
The Following User Says Thank You to kulve For This Useful Post: | ||
|
2012-01-08
, 16:00
|
Posts: 72 |
Thanked: 53 times |
Joined on Jan 2012
@ Berlin, Germany
|
#18
|
The g_spawn_async_with_pipes() + g_shell_parse_argv() sounds about right.
I'm not sure what you mean with the glib event loop? It's used there normally and you probably don't need to explicitly do anything with it.
You probably need to use g_child_watch_add() to track when the child is done (exited) and continue the parent's work then.
Also the part about reading the child's stdout and updating the progress sounds right.
It's been awhile since I touched this (or glib even) so I might be forgetting something here
The Following User Says Thank You to llucax For This Useful Post: | ||
|
2012-01-08
, 18:23
|
Posts: 59 |
Thanked: 66 times |
Joined on May 2007
|
#19
|
I never did any devel for maemo and the arm, is there any tutorial you would recommend to get started on having a working tool chain to build and test this?
|
2012-01-11
, 18:20
|
Posts: 59 |
Thanked: 66 times |
Joined on May 2007
|
#20
|
A few examples here or in the wiki would be nice. At the moment I fail to upload anything by ftp. Help is appreciated. I will try further.
DerYo-->