is this possible to create subdirectory in FTP using ftp.MakeDirectory?
<p>I have to create this query to get some answer before i change my code.Pardon me if this question is doesn't make sense to you guys.</p>

<p><strong>Scenario 1:</strong></p>

<pre><code>string path :ftp://1.1.1.1/mpg/test";
FtpWebRequest requestDir = (FtpWebRequest)FtpWebRequest.Create(new Uri(path));
requestDir.Credentials = new NetworkCredential("sh","se");
requestDir.Method = WebRequestMethods.Ftp.MakeDirectory;
</code></pre>

<p>Using the same code to create the directory structure to connect my local Filezilla ftp server to do the job---Works Fine.</p>

<p><strong>Scenario 2:</strong>
Used the above code to connect the remote ftp server to do the same job throws exception : Error 550 no file found or no Access.</p>

<p><strong>Question 1</strong> : I have a full permission to read/write for the folder,if its not a permission issue,what else i have to keep it in mind to look for it ?</p>

<p><strong>Question 2</strong>: If i modified my code like
step1: Make"mpg" direcotry first
step2: make"test" directory after that,works fine
is that mean FTP.Makedirectory won't support to create a subdirectory in the main dir ?</p>

<p>If that's the case how it created in my local ftp server ?</p>

<p>Any help appreciated.</p>

<p>Thanks in Advance.</p>
