Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Qnx IDE: Tip of the Day #20: Transferring Files to a Target: (1 Item)
   
Qnx IDE: Tip of the Day #20: Transferring Files to a Target  
There are few ways how you can transfer files files from host to target (and visa versa) using IDE.
The method of transfer depends on conditions and connection method.

If you have network connection and qconn is running on a target:
* Target File System Navigator (TFSN) View
** allows to drag and drop files from host (IDE and other programs) to the target folder and other way around
** allows to use cut & paste commands
** allows rename and delete files on target, launch file on target from TFSN and open target files in the IDE editor
** Note: deleting files on target has a bug in IDE 4.6 and earlier - descriptor leak. If you delete lots of big files to
 get rid of leaks (which prevent space to be reclaimed) you need to close/re-open target project or re-start qconn
* Launch
** Binaries and Shared Libraries can be uploaded automatically when you launch qnx qconn launch configuration, you can 
also launch fake binary such as "ls" just to transfer the libraries from host to target. Unfortunately it does work only
 for shared libraries, other files cannot be transfered using this launch configuration.
** If you want to automate file transfer while launching, you can write external script to upload and/or download files,
 then use Group Launch to combine script launch and binary launch into one sequential launch.

If you have serial connection:
* You can use Terminal view to transfer image to a target, using "Transfer Image to Target" action, which is available 
from action bar of Terminal view
* You can upload and debug and a binary using Pdebug launch configuration

TFTP Server
* IDE can run TFTP server for you, you can configure target client to grab files from host from selected directories. To
 run the server open "TFTP Server" view.

JTAG Device
* If you have compatible jtag device you can upload and debug image using GDB Hardware Debugging launch configuration