M
Manish Sapariya
Hi,
I am trying to copy a remote directroy recursively using Net::sftp.
I could not find any direct api given by this module and decided to
copy the entire directory file by file.
However i am not able to figure out, how to tell between file or directory.
I am trying to follow simple method,
for every file in directory
if file is direcory
create directory
else
get/put directory
end
However I am not able to find out any method to figure out the type of
file on remote machine.
Any ideas?
Thanks and Regards,
Manish
I am trying to copy a remote directroy recursively using Net::sftp.
I could not find any direct api given by this module and decided to
copy the entire directory file by file.
However i am not able to figure out, how to tell between file or directory.
I am trying to follow simple method,
for every file in directory
if file is direcory
create directory
else
get/put directory
end
However I am not able to find out any method to figure out the type of
file on remote machine.
Any ideas?
Thanks and Regards,
Manish