Home > Net >  How to delete remote directory specific suffix file FTP
How to delete remote directory specific suffix file FTP

Time:09-27

Such as remote directory:
123. The DDD
Asdasdasd. DDD
333. The DDD

File name not sure, I want to delete. How to implement all of DDD suffix file?

CodePudding user response:

When you access catalog file list will return a string [].

Then you where (d=& gt; D.e ndwith (" DDD ")) to get a new list.

In Ftp. Then you cycle call DeleteFile method in the new list of passed parameters not finished?

CodePudding user response:

reference 1st floor by_ love reply:
when you access catalog file list will return a string [].

Then you where (d=& gt; D.e ndwith (" DDD ")) to get a new list.

In Ftp. Then you cycle call DeleteFile method in the new list of passed parameters not finished?


Novice thank moderator to share

CodePudding user response:

reference 1st floor by_ love reply:
when you access catalog file list will return a string [].

Then you where (d=& gt; D.e ndwith (" DDD ")) to get a new list.

In Ftp. Then you cycle call DeleteFile method in the new list of passed parameters not finished?


 public string [] GetFilesList () 
{}


Webmaster, I am a novice c #, how to write a function to receive the function and the content of the display, such as display to textBox6. The Text
  •  Tags:  
  • C#
  • Related