Get including subfolders
I'm getting in trouble using mask and it seems that I got the exact opposite problem that other reported.
Using a shell command, I just need to download all files of some type from an FTP folder, including its subfolders.
But I can't get the files located in the subfolders.
Acc. to the doc:
I tried many configuration like this:Path Mask
When the mask selects files and it makes sense to select them based on directory, you can extend the mask with a path mask. You should separate the path mask from the filename mask by a slash. For example mask/home/martinp/*.txt
matches all text files within the directory. To match all text files within subtree, use mask/home/martinp/*.txt; /home/martinp/*/*.txt
.
/command "option batch abort" "option confirm off" "option include /*/*.txt" "open ftp://myftp.com" "get -delete -resume -preservetime /data/* C:\temp\" "exit"
/command "option batch abort" "option confirm off" "option include */; *.txt" "open ftp://myftp.com" "get -delete -resume -preservetime /data/* C:\temp\" "exit"
/command "option batch abort" "option confirm off" "open ftp://myftp.com" "get /data/*/*.txt C:\temp\" "exit"
What I'm I doing wrong?
Thanks in advance