How do I transfer files between a PC and my Sailfish device?

Jolla Care -

You can transfer files between your Sailfish device and your computer, and it can be done using either USB, Bluetooth, WLAN or cloud services.

Please note:

  • At the moment connecting your Sailfish device to a PC using a USB cable is best supported on Windows and Ubuntu systems.
  • Depending on your Linux distribution it should be possible to form a connection between your PC and Sailfish without additional preparations. Should you have problems with media transfer (MTP), you might find help e.g. here.
  • There is a support article for file transfer between Sailfish and Mac that works around these limitations.


1. Transferring files over USB with MTP

  • Connect the USB cable into your Sailfish device and then to the PC.
  • Your device will ask you what to use the USB for;  charging only or Media transfer mode. You might also see Developer mode there.

    Jolla1-USB-cable-connected.jpg
    Picture 1:  Sailfish device connected to a PC via USB.
  • Choose  'Media transfer (MTP)'
  • After a successful driver installation (if not done previously) your device should appear as Jolla or as Xperia X device (or whichever device running Sailfish OS you may have) under "This PC" on Windows 10.  The File Manager of Ubuntu has a similar view.
  • Click on the device name. You should now see Mass storage (inside the device) and SD Card if you have connected a memory card to your device.


    Jolla1-at-Win10-FileExplorer.PNG  
    Picture 2:  Showing Jolla Phone at Windows File Explorer.

  • You are now able to browse your Sailfish device on your PC. Move files using the copy/paste method between the phone memory, the SD card and the PC.
  • When the transfer of data is complete you can detach the USB cable. Make sure that no video transfer (especially) is still ongoing.

Changing the default action for attaching USB cable

In Settings you can edit your preferences on what what your Sailfish device should do when you connect to a PC:

  • Go to Settings  > USB (under Connectivity)
  • Tap on 'Default USB mode'
  • Tap on the action you wish to perform automatically when connecting a USB cable. Take 'Always ask' if you are in doubt.

2. Transferring files over Bluetooth connection

  • Switch Bluetooth ON on your device in Settings > Bluetooth.
  • Switch Bluetooth ON on your computer.
  • Pair your devices.
  • Transfer files between your devices. Most likely this works best if you initiate the transfer from the PC.

Need more instructions on how to pair devices over Bluetooth? Please see here.

 

3. Transferring files over a WLAN connection

a) If you are familiar with working on command line then you could rely on SCP  with developer mode enabled on the Sailfish phone. It is fast and works over WLAN.

The following may work on Windows 10 if you have installed the support for SSH and SCP protocols to it. Then the commands below can be given in PowerShell application. In the Terminal app of a Linux PC  the following is bound to work fine.

Use following command to download files from the phone (WLAN IP address: u.v.w.x) to the PC's current directory - in this example we copy pictures:

scp -r nemo@u.v.w.x:/home/nemo/Pictures/Camera/* ./

b) OpenRepos store has a clever application named  AirSail Transfer  for transferring files to/from your Sailfish OS device using your computer's web browser. Install the latest rpm file - for this you will need to allow untrusted software in Settings > Untrusted software. Jolla cannot however guarantee that this solution would make the connection between your PC and Sailfish device work.

 

4. Transferring files via a cloud based service

Your computer operating system probably supports the integration of cloud based services such as Dropbox into your File explorer –application. Dropbox will be the example service here, but there are several other services available and we encourage that you try to use one that you are most familiar with.

Pre-requisite:

An account in a cloud based file-storing service, and a possible client app downloaded and configured on your computer. After creating the account, sign in to it from your Sailfish device in Settings > Accounts > Dropbox.

On your computer:

Upload the files you want to transfer to your web-storage service. You can do it using the app on your computer or possibly through a web-interface (www.dropbox.com for Dropbox users).

On your Sailfish device:

a) Downloading files from the cloud to your device:
1. Open the Sailfish browser, and browse to www.dropbox.com
2. Find your media file(s) inside your Dropbox and download.
3. You will now find your downloaded media in the appropriate apps (Media for music and videos, Gallery for pictures).

b) Uploading files from your device to cloud:
1. Sign in to your Dropbox account (if not done by now).
2. Open Gallery and select an image or a video (unfortunately multi-selection is not supported).
3. Tap on Dropbox in the sharing menu. Tap Upload at top right corner.

 

 

Have more questions? Submit a request

Comments

  • Avatar
    Krisztian Olah

    Sailfish uses MTP just like recent Androids, unfortunately it is a protocol developed by MS.

    Linux users can download libmtp from the repositories, it might be called differently in your distro so use apt-cache search, yum search, pacman -Ss or whatever you'd normally use, then install it with your package manager. You can find out more here: https://wiki.archlinux.org/index.php/MTP

    Sadly I can't test how well libmtp works with Sailfish as I am still waiting for mine:(

     

    OSX users can install third party MTP software; I have no idea how well/if these work but take a shot: http://en.softonic.com/s/mtp:mac/mac-x?ab=0

    Alternatively both OSX and Linux users can use SSH in developer mode, they can use either scp or sshfs to copy files over or mount filesystem respectively.

    Hope this helps someone;)

  • Avatar
    ZZB

    "How do I transfer files from a PC? - Use SSH!"

    I wasn't able to copy anything to my phone in Windows 7 Home 32bit. Seemed to mount the home directory on the phone (/home/nemo) fine but it wasn't seem writable. Upon copying, Windows complained something about the device no longer being connected. The SD card was nowhere to be seen. I got my copying done thanks to Vilho Raatikka pointing out SSH is available in developer mode.

    At another Windows 7 workstation, a Professional 64bit this time, the home dir mounted upon USB connection and file copying worked fine. Still no SD card though. Using the terminal available in developer mode (bash over SSH will also work of course), I was able to link the card mount point to /home/nemo. This showed up in Windows too and I could finally write/read my SD card.

    So to access my SD card, I did

    • Switch to developer mode

    • Start Terminal

    • ln -s /run/user/100000/media/sdcard .

    • Connect USB

    YMMV, of course.

  • Avatar
    Jaakko Timonen

    I got text documents to tranferred from Nokia phone to Jolla by Bleutooth, but don't know how to move or store them to Jolla's note or documents folder or somewhere to find later.

  • Avatar
    Alexander Goeres

    This doesn't work for Linux-Computers.

  • Avatar
    Vivien

    I could use ssh to transfer file from MacOS through wifi, but it doesn't work through usb.

  • Avatar
    Vivien

    Finally, I could transfer file from MacOS through usb. One driver was missing:

    -Install the Horndis driver on Mac

    -After a first plug of the Jolla, set the IP of the connection Sailfish to 192.168.2.xxx (in network setting of Mac)

    -ssh nemo@192.168.2.15

  • Avatar
    Raimo Koski

    Thanks for the info about developer mode and using ssh. One thing was however unclear or missing. You can use also WLAN. My Jolla offered 2 connection options: USB and WLAN. I chose WLAN of course because it was already set up.

Powered by Zendesk