bBox_Scp( param1; param2 {; ...} )

Parameters:

   param1: first scp parameter

   param2: second scp parameter

   …: zero or more parameters


Result:

   error or status messages


Error:

   bBox_LastError ("posix")


Script Step:

   none

––––––––––

First appeared in: 0.99

Examples in demo file: 0

Compatibility:   Client, macOS, Server, Ubuntu, WebDirect, WPE

––––––––––

Use the OpenSSH scp command to copy files from the given remote or local sources and destinations.

Use the -v option to get more output when debugging.

Basic function is similar to cp, however source and/or destination can be any place that you have SSH access to. For automated usage, it is best to use SSH keys to avoid the need to supply passwords.

If running server-side, be aware that the scp command will typically be running using the fmserver OS account, and it is that account that must have the needed access to SSH keys and access to the source or destinations (if any) on the server. For copy sources or destinations, the fmsadmin group can also be used to provide access.

See man scp for details on the parameters used by scp.