I want to copy all contents of a remote folder ( Windows ) into a local folder ( Linux ) :
Process proc = Runtime.getRuntime().exec("sshpass -p 'devaits@2019' scp 'devaits@app018ait:E:/Oxalys/RECETTE/*' /usr/Axian-Oxalys/xml/working/");
The directory "working" has rwx
privileges for the root user proprietary.
The RECETTE
folder contains subdirectories Oxadata/EXPORT
. But at runtime the "working" directory is empty ! So why are the subfolders not copied ( created ) ?