Differences
This shows you the differences between the selected revisions of the page.
2014-12-23 | 2015-08-05 | ||
param is a keyword (martin) | unambiguous source path (martin) | ||
Line 54: | Line 54: | ||
{ | { | ||
// Download files and throw on any error | // Download files and throw on any error | ||
- | session.GetFiles("/home/martin/public_html/", "d:\\backup\\").Check(); | + | session.GetFiles("/home/martin/public_html/*", "d:\\backup\\").Check(); |
} | } | ||
finally | finally | ||
Line 124: | Line 124: | ||
' Download files and throw on any error | ' Download files and throw on any error | ||
mySession.GetFiles( _ | mySession.GetFiles( _ | ||
- | "/home/martin/public_html/", "d:\backup\").Check() | + | "/home/martin/public_html/*", "d:\backup\").Check() |
Finally | Finally | ||
' Terminate line after the last file (if any) | ' Terminate line after the last file (if any) | ||
Line 209: | Line 209: | ||
# Download the file and throw on any error | # Download the file and throw on any error | ||
- | $session.GetFiles("/home/martin/public_html/", "d:\backup\").Check() | + | $session.GetFiles("/home/martin/public_html/*", "d:\backup\").Check() |
} | } | ||
finally | finally |