Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

SCP GUI for tablet

  • 06-06-2011 7:55pm
    #1
    Moderators, Arts Moderators Posts: 35,731 Mod ✭✭✭✭


    I want to copy files from my (ubuntu) PC to my (flytouch) tablet over the wifi and have got as far as connecting to the linux box and browsing the files via command line. I can use scp to transfer files but it's awkward as hell and takes ages to get the commands right (and there's no auto-complete in the CLI app I use).

    Does anyone know of or use a GUI for SCP or have any less awkward way of transferring files over wifi to an Android device? I have also set up dropbear/droidssh on the tablet so in theory should be able to write to it, but the WLAN IP address is constantly changing and it's not practical to check it all the time.


Comments

  • Closed Accounts Posts: 18,966 ✭✭✭✭syklops


    I dont advise doing this over an untrusted network, but it works well for quick and dirty transfers.

    On the ubuntu box cd into the directory with the files:
    Then type:

    python -m SimpleHTTPServer

    On the tablet, open the browser and type http://[IP of Ubuntu box]:8000

    Dont forget the :8000 at the end!

    Click on the file(s) you want to download.

    You may need to add a rule on your firewall to allow incoming 8000 http traffic, or just drop the firewall if you trust the network.


  • Moderators, Arts Moderators Posts: 35,731 Mod ✭✭✭✭pickarooney


    Will I need to run the HTTPServer each time I want to use it or should I leave it running permanently? It's not the most secure wireless network in the world to be honest.


  • Closed Accounts Posts: 18,966 ✭✭✭✭syklops


    I wouldnt leave it running permanently. It has no authentication, and no encryption. If you forgot about it, and connected to an unsecured network, someone could download your files. If you ran it in your home directory, they could download all your hidden directories too, even ssh keys.

    Its a one line command to start it, and a Control ^C to end it.

    This is just a hack. For a more secure, permanent solution, look into sshfs. There has been progress made in that area.

    The other thing I just thought of. You are on the tablet, scp'ing from your ubuntu box, and complaining about no auto-complete etc. Can you not scp from the GUI in ubuntu to the android. That would be a lot easier.

    Give me a few mins, ill see if I can come up with a PoC.

    Do you still want me kicked of the interweb for wasting bandwidth? ;)


  • Moderators, Arts Moderators Posts: 35,731 Mod ✭✭✭✭pickarooney


    syklops wrote: »
    Do you still want me kicked of the interweb for wasting bandwidth? ;)

    I cackled when I saw who had replied to this thread just after I'd made that post :D

    The thing is I want to be able to copy files to the tablet while the PC is being used by someone else so the GUI on the tablet would be the best solution if I can find one. I've a feeling Khannie might know how to do this.


  • Closed Accounts Posts: 18,966 ✭✭✭✭syklops


    Ok, I didnt realise you wanted to do this while someone else uses the computer. What I have done is use sftp through konqueror to view files on the droid device, so you can click and select/download etc from my laptop.

    Well if the computer is a desktop and wont be moving anywhere, or connecting to other wireless networks, and you place the files into a standalone directory(as in not your home or root directory), I think you could let it run for a few hours while you copy your files. You can also start it over ssh from the tablet, so you dont need to disturn the person on the machine to start copying files. Thats all I got.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 7,157 ✭✭✭srsly78


    Install an app called "OnAir".


  • Moderators, Arts Moderators Posts: 35,731 Mod ✭✭✭✭pickarooney


    srsly78 wrote: »
    Install an app called "OnAir".

    I'll give it a shot, thanks.


  • Moderators, Arts Moderators Posts: 35,731 Mod ✭✭✭✭pickarooney


    I got it working with AndFTP Pro but the transfer speed is a ridiculous 25k/sec


Advertisement