Transferring a File to the Device by Using IDE Daemon
Function
Transfers a file to the device by using IDE Daemon
Syntax
IDE-daemon-client --host <host_ip>:<port> [--device <deviceID>] --file <source_dir> <dest_dir>
Parameter
Parameter |
Description |
Mandatory or Not |
Default Value |
---|---|---|---|
--host |
|
Yes |
The default value of port is 22118. |
--device |
If the host is connected to multiple devices, you can specify a device by using --device deviceID. If the device is not specified, the device with deviceID of 0 is used by default. |
No |
The default value of deviceID is 0. |
--file |
|
Yes |
- |
Example
- Log in to the server on the host as the HwHiAiUser user.
- Run the following command to transfer the A.java file to the device and save the file as B.java:
IDE-daemon-client --host xx.xx.xx.xx:22118 --file /tmp/A.java "ide_daemon/B.java"
Replace xx.xx.xx.xx with the actual IP address of the host.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot