Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
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)

Options

Topic review

ykmohank

Need to delete all the files having name as 2011 from sftp

Hi,

My sftp server is becoming unmanageable with the files from past two years.
Every file name is ending with timestamp of the day it was created/placed.

ex: Filename_01012011.txt,Filename_01012012.txt ....


My requirement is to copy all the .txt files whose names are ending with 2011 only to a local folder and delete it from the server.

Please help me with the format of WinScp command that i can use to achieve this.

Please help.