Hello
Sorry, the snippet it did not include all the variables.
The $extract variable is a directory inside the remote_path i.e
/tng/logs/KM - > The KM being the $extract. The idea is to throw a different directory through a subroutine...
The objective here is to simply login to the ftp site and copy a specific directory tree to a local storage network.
The snippet was copied from the authors examples..
Thank you for your time... your help is greatly appreciated.