When I use this command it list the whole ftp site, is there a way to tell it to list just a subdirectory in the ftp site
thanks
FTPGetDirList>file.website.com,Username,Password,21,%dir1%\dirsize.txt,*,D
list subdirectory in ftp site
Moderators: JRL, Dorian (MJT support)
-
- Automation Wizard
- Posts: 1101
- Joined: Fri Jan 07, 2005 5:55 pm
- Location: Somewhere else on the planet
Use the path to the subdirectory as the HOST_FILE_SPEC e.g /web/myfiles/ (instead of that *), that works for me. Note that it will only list the files that are in that subdirectory, and the only the names of any lower subdirectories.
You should try both the D and L options, they give different outputs.
You should try both the D and L options, they give different outputs.