Command to launch FTPServer through adb?

1,701 views
Skip to first unread message

dsbe...@gmail.com

unread,
Apr 14, 2013, 11:25:09 PM4/14/13
to andreasl...@googlegroups.com
Andreas —

      I like your FTP server very much! It’s very small and easy to use. I prefer it over all the other FTP servers available for Android.

      I’d like to be able to start FTPServer through the Android shell which I understand can be done by passing the proper flags to “am start”.

      However, I can’t seem to figure out what those flags should be… Is that something you can help me with?

      Please see http://www.anddev.org/using_the_am-tool_start_activities-intens_from_a_shell-t368.html for what I’m trying to figure out.

      Thanks a lot!

— Daryn

Andreas Liebig

unread,
Apr 17, 2013, 2:50:53 PM4/17/13
to andreasl...@googlegroups.com
hello.

Thank you for the nice comment!

I will look into it when I can and get back to you.

Have a nice day.
Andreas



--
You received this message because you are subscribed to the Google Groups "AndreasLiebig" group.
To unsubscribe from this group and stop receiving emails from it, send an email to andreasliebiga...@googlegroups.com.
To post to this group, send email to andreasl...@googlegroups.com.
Visit this group at http://groups.google.com/group/andreasliebigapps?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Andreas Liebig

unread,
May 2, 2013, 3:50:06 PM5/2/13
to andreasl...@googlegroups.com
Hi!

You can start the service with this command:
am startservice -n lutey.FTPServer/.service.FTPService

Hope that helps.

Br,
Andreas

dsbe...@gmail.com

unread,
May 2, 2013, 9:59:41 PM5/2/13
to andreasl...@googlegroups.com
That works great Andreas! Thanks so much!

This really helps a lot with writing scripts / batch files to synchronize files with my phone (I have a 64GB micro–SD card).

For anyone interested, to stop the server you do “adb shell am force-stop lutey.FTPServer”.

— Daryn
Reply all
Reply to author
Forward
0 new messages