Dear All,
                             I want to move some files(word, excel, & text files) in my local drive to remote server location (with specified location) through web application. I google about this, i got some inbuilt dlls. but i don't want use dlls, how to write programatically. 
'Settings required to establish a connection with the server
Public Function UploadToServer(ByVal FileName As String) As Boolean
Try
'Dim ftpRequest As FtpWebRequest = CType(FtpWebRequest.Create(New Uri("ftp://" + FileName)), FtpWebRequest)
ftpRequest.Method = WebRequestMethods.Ftp.UploadFile ftpRequest.Proxy = Nothing ftpRequest.UseBinary = True ftpRequest.EnableSsl = True ftpRequest.KeepAlive = True
ftpRequest.Credentials = New NetworkCredential("test", "test1234")

' ...

Go to the complete details ...