private void GetLinkedFiles(string pathToAppDir) { SharpSvn.SvnClient client = new SharpSvn.SvnClient(); client.Authentication.Clear(); for (int i = 0; i < dgvFilesToImport.Rows.Count; i++) { //Relative || Link// string fileRelativePath = dgvFilesToImport.Rows[i].Cells["relativePath"].Value.ToString(); string fileLink = dgvFilesToImport.Rows[i].Cells["fileLink"].Value.ToString(); SharpSvn.SvnUriTarget target = new SharpSvn.SvnUriTarget(dgvFilesToImport.Rows[i].Cells["fileLink"].Value.ToString()); Directory.CreateDirectory(pathToAppDir + @"\" + dgvFilesToImport.Rows[i].Cells["relativePath"].Value.ToString()); try { SharpSvn.SvnExportArgs svnExportArgs = new SharpSvn.SvnExportArgs(); svnExportArgs.Overwrite = true; client.Export(target, pathToAppDir + @"\" + dgvFilesToImport.Rows[i].Cells["relativePath"].Value.ToString() + @"\" + Path.GetFileName(dgvFilesToImport.Rows[i].Cells["fileLink"].Value.ToString()), svnExportArgs); } catch (Exception ex) { FrontendUtils.LogError(ex.Message, ex); } } }