Alter script to leave remote folders in place
I have a scheduled task in place calling a script to weekly retrieve .pdf and .835 files from a remote server. The script has the
The problem is that the script is grabbing these files but it is also deleting all of the folders that it finds on the FTP. Is there anyway to change this to grab .835 and .pdf from various folders, delete the files, and leave the folders in place on the remote server?
Thanks!
get
command in it listed below:
get * "D:\remote-files" -filemask="*.835,*.pdf" -delete
Thanks!