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

Author Message
[View user's profile]

Joined: 2013-01-06
Posts: 6

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.

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License