Sample Link:
FTP File Upload
using FtpWebRequest in .Net C#FtpWebRequest Class in System.Net namespace helps in implementing a File
Transfer Protocol (FTP) client in .Net.
To obtain an instance of FtpWebRequest, use the Create method.
The URI is of the form "ftp://127.0.0.1/path", first the .NET Framework logs
into the FTP server using the user name and password set by the Credentials
property, then the current directory is set to <UserDirectory>/path.
When using an FtpWebRequest object to upload a file to a server, you must write
the file content to the request stream obtained by calling the GetRequestStream
method.
You must write to the stream and close the stream before sending the
request.