I am trying to upload my text file using putfile function it give error" connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.2.120:50548". In my code there is no problem in connection this error occurs when i using putfile method for upload files.Here i am written my code please see it and suggest what i do. string str2 = Convert.ToString(ftp.PutFile(@"C:\Documents and Settings\neetesh\Desktop\FTPS Project All\Test\shwetamber.docx", "/wwwroot/shwetamber.docx")); if (ftp.PutFile(listView1.Items[i].SubItems[1].Text,strSort(listView1.Items[i].SubItems[1].Text)) > 0) { } Thanks neha |