FrontPage 

Fuego wiki

Login or create account

function ov transport put in split format

NAME [edit section]

= NAME =
ov_transport_put

SYNOPSIS [edit section]

= SYNOPSIS =
 * ov_transport_put [-r] <file1> [<file2>...] <destination>

DESCRIPTION [edit section]

= DESCRIPTION =
ov_transport_put is an internal function used to transfer directories and files to the target.
It used information from the board file to select the correct method to use to transfer files to the target. Currently supported transports are: * ssh * serial * ttc
It used information from the board file to select the correct method to use
to transfer files to the target.  Currently supported transports are:
 * ssh
 * serial
 * ttc
takes the '-r' option to allow putting items recursively. You can use wildcards in the file specifications.
 takes the '-r' option to allow putting items recursively.
You can use wildcards in the file specifications.

EXAMPLES [edit section]

the put function for examples of arguments used with this function.
= EXAMPLES =
See [[function_put#EXAMPLES|the put function]] for examples of arguments used with this function.

ENVIRONMENT and ARGUMENTS [edit section]

= ENVIRONMENT and ARGUMENTS =
The following environment variables are used by ov_transport_put:
 * $TRANSPORT - specifies the type of transport used to communication with the board.  This should be one of "ssh", "serial", "ttc".
 * $LOGIN 
 * $PASSWORD
If $TRANSPORT is "ssh": * $DEVICE - the network name of the target device
If $TRANSPORT is "ssh":
 * $DEVICE - the network name of the target device
If $TRANSPORT is "serial": * $SERIAL * $BAUD * $IO_TIME_SERIAL
If $TRANSPORT is "serial":
 * $SERIAL
 * $BAUD
 * $IO_TIME_SERIAL
If $TRANSPORT is "ttc": * $TTC_TARGET
If $TRANSPORT is "ttc":
 * $TTC_TARGET
For details about the meaning of the environment variables used here, see the TRANSPORT parameters section on the page Adding a board
For details about the meaning of the environment variables used here, see
[[Adding_a_board#TRANSPORT_parameters|the TRANSPORT parameters section on the page Adding a board]]
The arguments are passed unchanged to the particular transport function selected by $TRANPORT. The following argument patterns can be seen in existing calls to 'put', which is the wrapper for this call: * -r may be passed in the first position, to specify to recursively transfer directories and files * the last argument should be an destination directory on the target. The directory should be a full path (specified from the root)
The arguments are passed unchanged to the particular transport function
selected by $TRANPORT.  The following argument patterns can be seen in
existing calls to 'put', which is the wrapper for this call:
 * -r may be passed in the first position, to specify to recursively transfer directories and files
 * the last argument should be an destination directory on the target.  The directory should be a full path (specified from the root)

RETURN [edit section]

= RETURN =
Returns non-zero on error

SOURCE [edit section]

= SOURCE =
Located in ''overlays/base/base-board.fuegoclass''

SEE ALSO [edit section]

put, ov_transport_get
= SEE ALSO =
 * [[function_put|put]], [[function_ov_transport_get|ov_transport_get]]
TBWiki engine 1.8.3 by Tim Bird