Read Multiple Files from folder and Download using FTP location in Console Application using C#

Read Multiple Files from folder and Download using FTP location in Console Application using C#

Today I’m going to tell you to read multiple files from folder using FTP Location.Please follow below steps to fetch Step 1 :- Place code in Class file string ftpDownloadResult = string.Empty; try { WebRequest request = WebRequest.Create(ConfigurationManager.AppSettings["FTPPath"]); request.Method = WebRequestMethods.Ftp.ListDirectory; request.Credentials = newNetworkCredential(ConfigurationManager.AppSettings["FTPUserName"], ConfigurationManager.AppSettings["FTPPassword"]);
Read File from FTP location in Console Application using C#

Read File from FTP location in Console Application using C#

Today I'm going to tell you to read text from FTP Location.Plz follow below steps to fetch Step 1 :- Place code in Class file WebRequest request = WebRequest.Create(ConfigurationManager.AppSettings["FTPPath"]); request.Method = WebRequestMethods.Ftp.DownloadFile; request.Credentials = new NetworkCredential(ConfigurationManager.AppSettings["FTPUserName"], ConfigurationManager.AppSettings["FTPPassword"]);
Change Identity Column Value in SQL Server

Change Identity Column Value in SQL Server

I will explain to change identity column seed value in SQL server or reseed identity column seed value of table in SQL server or how to change identity column value in SQL server. DBCC CHECKIDENT (Table_Name, RESEED, New_Reseed_Value) Table_Name is name of your identity column table
Drop index from Table

Drop index from Table

To remove index from table we use drop index statement in sql server. To create index on column in sql server that syntax will be like as shown below Syntax to Create Index CREATE INDEX indexname ON Tablename(columnname)
Difference between Cursor and While Loop with Example

Difference between Cursor and While Loop with Example

Here I will explain difference between cursor and while loop in sql server with example or explain cursor vs while loop with example in sql server. Cursors in sql server allow you to fetch a set of data, loop through each record, and modify the values as necessary; then, you can easily assign these values to variables and perform processing on these values. While loop also same as cursor to fetch set of data and process each row in sql server.