Transfer Files - FreeWaveTechnologies/ZumIQ GitHub Wiki

There are three different ways to transfer files from your computer to a ZumIQ-enabled device:

Upload via PTP Drag-and-Drop Interface

1. Using a Micro-USB cable, connect the Micro-USB port on the device to a USB port on your computer.

2. If drivers have not yet been installed, driver installation will start. You may be prompted to allow this to happen.

3. A ZumLink device will appear in File Explorer with a camera icon and the device serial number in the name.

4. Open the device. It will contain a single folder with the device serial number as its name. Inside this folder are a number of configuration and informational files. See Linux Environment - PTP Directory.

5. Drag-and-Drop or copy-and-paste file(s) into this folder.

NOTE: Depending on your version of Windows, some file transfers may fail depending on your file extension. To work around this, append ".txt" to the filename prior to copying. Be sure to remove this extension after copying.

6. The file(s) will appear in the /ptp directory when logged into the radio using devuser account.

    devuser@freewave-ib:~$ cd /ptp
    devuser@freewave-ib:/ptp$ ls
    boot_results.txt  config.txt  fw_upgrade_result.txt  help.txt  layout.txt  sys_info.txt
    devuser@freewave-ib:/ptp$

Download via PTP Drag-and-Drop interface

1. Follow steps 1-4 from (Upload via PTP Drag-and-Drop interface)

2. Login to the radio using the devuser account.

3. Copy or move files into the /ptp directory.

4. The files will appear in the device folder in File Explorer. Drag-and-drop or copy-and-paste them out of File Explorer to your desired destination.

NOTE: When copying files off of the device, you don't need to modify the file extension.

NOTE: Files can't be deleted from File Explorer. They must be removed using the rm command when logged into the unit as devuser.

Upload via Website

1. Open a web browser and enter the IP address of the desired device in the address bar.

NOTE: The default IP address of the device is 192.168.111.100. See the ZumLink or ZumIQ User Manual for detailed instructions on how to configure network settings.

2. Select the File Upload link.

3. If prompted, login to the device.

4. Click Choose File to select the file to upload.

5. Select the file to upload.

6. Click "Send" to send the file to the device.

7. The file is now available on the device in the /ptp directory:

    devuser@freewave-ib:~$ cd /ptp
    devuser@freewave-ib:/ptp$ ls
    boot_results.txt       fw_upgrade_result.txt   help.txt           sys_info.txt
    config.txt             hello.py                layout.txt
    devuser@freewave-ib:/ptp$

Download via Website

1. Login to the radio using the devuser account

2. Copy or move files into the /ptp directory.

3. Open a web browser and enter the IP address of the desired device in the address bar.

NOTE: The default IP address of the device is 192.168.111.100. See the ZumLink or ZumIQ User Manual for detailed instructions on how to configure network settings.

4. Select the User Data - Drag and Drop Files link.

5. Right-click on the name of the file and select the appropriate option to download the file (varies depending on the browser)

Upload via SCP

NOTE: This procedure assumes that you have the scp command line utility located in your path. scp is often available on Linux systems by default. It can be installed on Windows (via CygWin or git, for example) but installation is left as an exercise to the user.

1. From a command prompt on your computer (Bash, Cmd, PowerShell, etc.), type:

    scp myfile devuser@<IP ADDRESS>:/ptp/myfile

Example:

    C:\demo> scp hello.py devuser@192.168.111.100:/ptp/hello.py
    devuser@192.168.111.100's password:
    hello.py                                      100%  157     0.2KB/s   00:00
    C:\demo>

2. The file is now available on the device in the /ptp directory:

    freewave-ib:/ptp$ ls
    boot_results.txt       fw_upgrade_result.txt   help.txt           sys_info.txt
    config.txt             hello.py                layout.txt
    freewave-ib:/ptp$

NOTE: Using scp, developers are not limited to only using the /ptp directory. Files can be copied directly to any location on the device, including directly into /home/devuser/apps.

Download via SCP

NOTE: This procedure assumes that you have the scp command line utility located in your path. scp is often available on Linux systems by default. It can be installed on Windows (via CygWin or git, for example) but installation is left as an exercise to the user.

1. From a command prompt on your computer (Bash, Cmd, PowerShell, etc.), type:

    scp devuser@<IP ADDRESS>:<PATH TO FILE> .

Example:

Assuming the file /home/devuser/logs/myfile.log exists:

    C:\demo> scp devuser@192.168.111.100:/home/devuser/logs/myapp.log .
    devuser@192.168.111.100's password:
    myapp.log                                                                        100%   20KB   1.3MB/s   00:00

2. The file is now available on your local computer:

    C:\demo> ls

        Directory: C:\demo

    Mode                LastWriteTime     Length Name
    ----                -------------     ------ ----
    -a---         8/23/2017   3:26 PM      20480 myapp.log

    C:\demo>
⚠️ **GitHub.com Fallback** ⚠️