Differences
This shows you the differences between the selected revisions of the page.
| 2013-08-30 | 2013-08-30 | ||
| no summary (58.177.242.1) (hidden) | Restored revision 1375084081. Undoing revision 1377845745. (martin) (hidden) | ||
| Line 90: | Line 90: | ||
| var LOCALPATH = "c:\\downloaded\\"; | var LOCALPATH = "c:\\downloaded\\"; | ||
| // Remote path to download from (keep trailing slash) | // Remote path to download from (keep trailing slash) | ||
| - | var REMOTEPATH = "/"; | + | var REMOTEPATH = "/home/user/"; |
| // File to download | // File to download | ||
| - | var FILE = "jms.tar.gz.gpg"; | + | var FILE = "download.txt"; |
| // Session to connect to | // Session to connect to | ||
| var SESSION = "session"; | var SESSION = "session"; | ||
| // Path to winscp.com | // Path to winscp.com | ||
| - | var WINSCP = "D:\JMS\winscp"; | + | var WINSCP = "c:\\program files\\winscp\\winscp.com"; |
| // helper function to pad zeroes to the left of number | // helper function to pad zeroes to the left of number | ||
| Line 142: | Line 142: | ||
| ===== [[download_most_recent_file]] Downloading the most recent file ===== | ===== [[download_most_recent_file]] Downloading the most recent file ===== | ||
| - | |||
| ==== Using WinSCP .NET Assembly ==== | ==== Using WinSCP .NET Assembly ==== | ||