Differences
This shows you the differences between the selected revisions of the page.
2010-05-13 | 2010-05-13 | ||
no summary (119.30.38.1) (hidden) | no summary (119.30.38.1) (hidden) | ||
Line 10: | Line 10: | ||
- | ===== Example of Support Request for Scripting ===== | + | I am credit card processing specialist. I like to help people through online. I have some other business. I am personally busy and I like to make fun when I get the chance. If you need help on credit card processing or support in merchant services. |
- | > Subject: **Trouble setting server timeout via command line** | + | please visit http://merchantwarehouse.com |
- | > | + | |
- | > I have a client with a slow FTP server, it takes 25 seconds or so to connect. Whenever I attempt to add the ''-timeout=xxx'' switch to the end of my ''open'' command, WinSCP just bails out. No session log file is even created. If I remove the ''-timeout'' switch, it connects. | + | |
- | > | + | |
- | > Here is the command line:\\ | + | |
- | > ''winscp.exe /console /script=test.txt /log=log.txt'' | + | |
- | > | + | |
- | > Here is the script:\\ | + | |
- | > ''option batch on''\\ | + | |
- | > ''option confirm off''\\ | + | |
- | > ''open user:pass@site -timeout=60''\\ | + | |
- | > ''option transfer binary''\\ | + | |
- | > ''get *05152008*''\\ | + | |
- | > ''close''\\ | + | |
- | > ''exit'' | + | |
- | > | + | |
- | > After running the script I get following in console:\\ | + | |
- | > ''batch on''\\ | + | |
- | > ''confirm off''\\ | + | |
- | > ''Too many parameters for command 'open'.'' | + | |
- | > | + | |
- | > Using WinSCP 4.0.7 on Windows 2000. | + |