Downloading files to newly created directories in C#
<p>I am creating directories on the fly and I would like to download files to the newly created directory:</p>

<pre><code>// The code to create the directory based on revision number and original name
System.IO.Directory.CreateDirectory(@"C:\Users\bob\Desktop\Hello\Files\" + "v" + fileInfo.RevisionNumber + "_" + fileInfo.OriginalName);

// This method downloads files and takes 4 parameters. 
// The only one that really matters is the second one, targetFolder, 
// which is a String value. Any idea on how I can download the files 
// to the newly created directory (above) using the method below?
ecm.RetrieveFile(fileInfo.ID, targetFolder, recreateDirectoryStructureFlag, overwriteWithoutPromptFlag);
</code></pre>
