Action Copy Files Deployed Successfully, But the Expected Result Is Not Achieved
Symptoms
The result shows that the action Copy Files is successfully deployed, but the expected result is not achieved.
After the deployment is complete, a new file is generated in the destination path. The file name is the same as the destination path and does not have a file name extension.
As a result, the following situations occur:
- If the source file to be copied is a text file, you can still edit the new file after the copy is complete.
- If the source file to be copied is not a text file, garbled characters are displayed when you edit the new file after the copy is complete.
Cause Analysis
If the destination path of the file to be copied does not end with a forward slash (/), the system copies the file by renaming it. If the file name already exists, the existing file will be overwritten.
Solution
- If the name and format of the source file are determined, specify the directory, file name, and file format in the destination path.
- If you want to copy multiple files or copy them to a directory, the destination path must end with a forward slash (/).
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