29/12/2014 by Nitesh

How To Check If a File Exists In FTP Server in C#

Friends, In my last post, we saw how can we delete a file from FTP server. However, there might be a situation when you try to delete a file and the file does not exist on the server. In this case, code will throw an error saying “550, File Unavailable“. To solve this, we must…

Continue Reading »

28/12/2014 by Nitesh

How To Delete a File From FTP Server in C#

Friends, In my last post, we saw how can we retrieve the list of all files & folders from a FTP server using C#. In this post, we will see how can we delete a file from FTP server using C# from within your Console or Windows Forms Application. Here’s the code – private string…

Continue Reading »

27/12/2014 by Nitesh

How To List All Files & Directories From a FTP Server in C#

Friends, In this post, we will see how we can retrieve the list of files and directories from a FTP server in C#. We will make use of FtpWebRequest class to perform this action. FtpWebRequest class is defined in System.Net namespace. This means you need to use this namespace at the top of your program…

Continue Reading »

21/10/2014 by Nitesh

How To Implement Select All/Unselect All CheckBoxes in GridView Rows

Friends, In my last posts, I explained How To Add CheckBox to GridView and How To Get Selected Multiple Rows From GridView. In this post, I will explain how canĀ  you select/unselect all rows of a GridView by selecting a CheckBox in client side. We will start with using the same GridView, we are using…

Continue Reading »

20/10/2014 by Nitesh

How To Get Multiple Selected Rows From GridView In ASP.Net

Friends, In my last post I explained how easily we can add a CheckBox column to a GridView in Asp.Net. Having a CheckBox column in GridView, now we can select multiple records from the GridView. We can now write some piece of code with the help of which we can perform multiple actions on the…

Continue Reading »

1 4 5 6 7 8 14