hii all,
When im trying to upload all the resized photos from the local server onto the live ftp server, im getting an error stating tht:
"An existing connection was forcibly closed by the remote host "
For n= 0 To lstFileNames.Items.Count - 1 Step 1
Try
xImg1 = lstFileNames.Items(n).ToString()
ff.UploadFile(xImg1)
Kill(xImg1)
xImg1 = Nothing
procBar.Increment(1)
Application.DoEvents()
Catch ex As Exception
MsgBox("Error FTP No.1: " + ex.Message(), MsgBoxStyle.OKOnly, "FTP error...!!")
Exit Try
can anyone plz help....
thnq in advance