I have written code for creating folder on FTP server when a button clicks..When running my project locally, It works properly and creates a folder on FTP.. But when it running on remote server the folder is not created.. Please help .. Is there any needs to make changes on config file ? my cod is here
public void create_folder(string userName, string password,string test_session_id)// FOR CREATING FOLDER ON FTP SERVER
{
WebRequest request = WebRequest.Create("ftp://xxxxx/" + tb_session_id + "");
request.Method = WebRequestMethods.Ftp.MakeDirectory;
request.Credentials = new NetworkCredential(userName, password);
}
}