How to get a complete directory from artifactory

Hello Professionals,

Can somebody help me to get a complete directory from the artifactory ?

Currently I can create single files, but need to get the whole directory.

Im using the following but doesnt pull the directory-

remote_directory 'F:\GS\dirprm\MAC do
source "https://artifactory.trusted.com/gs_dev/MAC"
action :create
not_if { ::Dir.exist?('F:\GGS\dirprm\MAC') }
end