Post a reply

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


So basicly I tried it with filemask, but filemask copy the whole folder structure and not the single files to my destination

Search function in WinSCP script

Hi all,

at the moment I am creating a script where WinSCP is opening and searching for specific file types on a CNC-Machine via FTP (*.prt). The problem on this case is, the .prt files are always located in different folders and also the folders change (different names, etc.). So this is my current script:
open ftp://XX:XX@
get *.txt -delete

This works fine, but the get command only looks for *.prt files in the root area and not in the folders that are located here. I also cannot define any folders and as they change multiple times daily.