Posted on: 8/20/2014 3:20:15 AM | Views : 396

Hi guys,
Still new with asp.net. Stuck at FTP part. 
What I did till now is, upload and resize the image. But then I need to ftp the resize image to another server.

Below is my code of upload + resize and update to database.
protected void btnUpload_Click(object sender, EventArgs e) { const int bmpW = 200; //New image target width const int bmpH = 150; //New Image target height if (FileUpload2.PostedFile != null) { string fileExt = System.IO.Path.GetExtension(FileUpload2.FileName); if (fileExt == ".jpeg" || fileExt == ".jpg" || fileExt == ".png") { string userID = Request.QueryString["rid"].ToString(); Int32 newWidth = bmpW; Int32 newHeight = bmpH; //DateTime date = DateTime.Now; //Use the uploaded filename for saving without the '.' extension string FileName = System.IO.Path.Get ...

Go to the complete details ...