Not able to execute "az dls fs upload xxx" through java code

Copper Contributor

I am trying to execute "

az dls fs upload --account XXX--source-path "/local/xyz.txt" --destination-path "/temp/folder/"  " through java code using 

Process p=Runtime.getRuntime().exec(command) ;

 But its not copy file to datalake.

Please help me to figure out this. or is there any other way to do this.

0 Replies