tracetronic: RemoteCommandLinuxΒΆ
Vendor information
Vendor |
Web page |
Product name |
Version |
|---|---|---|---|
tracetronic GmbH |
RemoteCommandLinux |
Categories
MDL π |
APL π |
BAN π |
BMA π |
SVC π |
DGN π |
FIU π |
EES π |
FCT π |
DBG π |
IMG π |
AUDIO π |
ENVSIM π |
ENVCOM π |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Platform
Operating system |
Support |
|---|---|
Windows |
|
Linux |
β |
SpecificsΒΆ
RemoteCommandLinux provides system access to the host of Tool Server. For example, files can be transferred from or to the tool host or applications can be executed by using this tool.
For security reasons, RemoteCommandLinux can only be used locally or if the ecu.test Tool Server communication has been secured (SSL client certificate).
Properties πΒΆ
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
Timeout for tool call β²in sec.β³ |
β600β |
string |
Timeout after which a tool call is aborted. |
Jobs πΒΆ
DeleteFileΒΆ
Deletes a file from the remote host
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
remotepath |
string |
Remote file name with path |
DeleteFolderΒΆ
Deletes a directory from the remote host
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
recursive |
False |
[False, True] |
bool |
delete non-empty folder including content |
|
remotepath |
string |
Remote path |
DownloadDirRecursiveΒΆ
Copies a subdirectory from the remote host
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
localpath |
string |
Local directory |
|||
remotepath |
string |
Remote directory |
DownloadFileΒΆ
Copies a file from the remote host
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
localpath |
string |
Local file |
|||
remotepath |
string |
Remote file |
ExecuteCommandΒΆ
Executes a command
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
args |
[] |
object |
Argument list incl. program name |
||
creationflags |
0 |
int |
creationflags |
||
cwd |
string |
Execute inside directory |
|||
delay |
0 |
int |
Time to wait before requesting results in asynchronous execution |
||
encoding |
βutf-8β |
string |
Character set for decoding of read characters. Set None for not decoded bytes. |
||
env |
object |
Alternative environment variables |
|||
executeInShell |
False |
[False, True] |
bool |
Execute inside a command shell (cmd.exe) |
|
inputtext |
string |
Text to be send to stdi |
|||
startupinfo |
object |
StartupInfo |
|||
sync |
True |
[False, True] |
bool |
Synchronous execution |
Return value
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
ProcessResult |
object |
Tuple (return code, stdout content, stderr content) |
HttpGetΒΆ
Retrieves a document via HTTP or HTTPS
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
url |
string |
URL |
Return value
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
httpDocument |
string |
Content of the retrieved document |
ListDirΒΆ
Lists a directory recursively
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
directory |
string |
The directory to be listed |
Return value
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
directoryContent |
object |
Directory tree - each entry as a triple (name, path, isDir) |
PingΒΆ
Pings the specified host
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
ipAddressOrHostName |
string |
IP address or host name |
Return value
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
pingResult |
β |
bool |
True, if the host is available, else False |
UploadDirRecursiveΒΆ
Copies a subdirectory to the remote host
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
localpath |
string |
Local directory |
|||
remotepath |
string |
Remote directory |
UploadFileΒΆ
Copies a file to the remote host
Parameterization
Parameter
Name |
Available if |
Default value |
Valid values |
Type |
Description |
|---|---|---|---|---|---|
localpath |
string |
Local file |
|||
remotepath |
string |
Remote file |