Differences
This shows you the differences between the selected revisions of the page.
2014-10-24 | 2015-02-18 | ||
5.6.2 Bug 1225: An ExitCode property added to CommandExecutionResult in .NET assembly and an exitcode tag added to XML logging. (martin) | releasing 5.7 stable, removing &beta tags (or replacing with &recent) (martin) | ||
Line 22: | Line 22: | ||
| InvalidOperationException | Session is not opened. | | | InvalidOperationException | Session is not opened. | | ||
| [[library_sessionlocalexception|SessionLocalException]] | Error communicating with ''[[executables#winscp.com|winscp.com]]''. \\ See the exception documentation for details. | | | [[library_sessionlocalexception|SessionLocalException]] | Error communicating with ''[[executables#winscp.com|winscp.com]]''. \\ See the exception documentation for details. | | ||
- | | [[library_sessionremoteexception|SessionRemoteException]] | Session has failed. \\ Command has failed (Prior to 5.6.2 beta only. Since 5.6.2 beta, use ''CommandExecutionResult.Check''). &beta \\ See the exception documentation for details. | | + | | [[library_sessionremoteexception|SessionRemoteException]] | Session has failed. \\ Command has failed (Prior to 5.7/5.6.2 beta only. Since 5.7/5.6.2 beta, use ''CommandExecutionResult.Check''). &recent \\ See the exception documentation for details. | |
| TimeoutException | Timeout waiting for ''winscp.com'' to respond. | | | TimeoutException | Timeout waiting for ''winscp.com'' to respond. | | ||
Line 69: | Line 69: | ||
string.Format("mysqldump --opt -u {0} --password={1} --all-databases | gzip > {2}", | string.Format("mysqldump --opt -u {0} --password={1} --all-databases | gzip > {2}", | ||
dbUsername, dbPassword, tempFilePath); | dbUsername, dbPassword, tempFilePath); | ||
- | // Prior to 5.6.2 beta, do not use Check() &beta | ||
session.ExecuteCommand(dumpCommand).Check(); | session.ExecuteCommand(dumpCommand).Check(); | ||
Line 119: | Line 118: | ||
String.Format("mysqldump --opt -u {0} --password={1} --all-databases | gzip > {2}", _ | String.Format("mysqldump --opt -u {0} --password={1} --all-databases | gzip > {2}", _ | ||
dbUsername, dbPassword, tempFilePath) | dbUsername, dbPassword, tempFilePath) | ||
- | ' Prior to 5.6.2 beta, do not use Check() &beta | ||
mySession.ExecuteCommand(dumpCommand).Check() | mySession.ExecuteCommand(dumpCommand).Check() | ||
Line 169: | Line 167: | ||
("mysqldump --opt -u {0} --password={1} --all-databases | gzip > {2}" -f | ("mysqldump --opt -u {0} --password={1} --all-databases | gzip > {2}" -f | ||
$dbUsername, $dbPassword, $tempFilePath) | $dbUsername, $dbPassword, $tempFilePath) | ||
- | # Prior to 5.6.2 beta, do not use Check() &beta | ||
$session.ExecuteCommand($dumpCommand).Check() | $session.ExecuteCommand($dumpCommand).Check() | ||