Forum Discussion
DebbieE
Community Champion
1 year agoCopying a Json to another folder as Json. the specified path does not exist
I have a JSON file in a container project. then newdata. then projecta. then a dated folder 20240102 and then the file 2024010210100000.json and I want to move it to the folder completed. I want ...
Anonymous
1 year agoNot applicable
Hi DebbieE
I made a simple test like below. I created "completed" folder in advance. Then when I ran the pipeline for the first time, it created the sub directory "apc/20231007" and saved the file in this destination folder successfully. So it supports creating a directory when the directory doesn't exist.
For the 'PathNotFound' error, you may open the input of the failed activity, check whether the source and sink folder path and file names have correct values which are passed from the parameters.
Additionally, for the current copy data activity, does it intend to copy a single file or a list of files?
Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!