Differences
This shows you the differences between the selected revisions of the page.
| 2017-10-19 | 2017-10-19 | ||
| hierarchy (martin) | using local session (martin) | ||
| Line 78: | Line 78: | ||
| string localFilePath = | string localFilePath = | ||
| - | session.TranslateRemotePathToLocal( | + | downloadSession.TranslateRemotePathToLocal( |
| remoteFilePath, remotePath, localPath); | remoteFilePath, remotePath, localPath); | ||
| Console.WriteLine( | Console.WriteLine( | ||
| Line 86: | Line 86: | ||
| Path.GetDirectoryName(localFilePath)); | Path.GetDirectoryName(localFilePath)); | ||
| downloadSession.GetFiles( | downloadSession.GetFiles( | ||
| - | session.EscapeFileMask(remoteFilePath), localFilePath). | + | downloadSession.EscapeFileMask(remoteFilePath), localFilePath). |
| Check(); | Check(); | ||
| } | } | ||