Differences
This shows you the differences between the selected revisions of the page.
2013-12-17 | 2014-01-29 | ||
Restored revision 1386757864. Undoing revision 1387246216. (martin) (hidden) | changed reply to FTP client call - forgotten: Host name, Port number, User Name, Private key file (87.178.190.142) (hidden) | ||
Line 29: | Line 29: | ||
- | ===== Example of Support Request for Scripting ===== | + | Subject: changed access to FTP client. |
- | > Subject: **Trouble setting server timeout via command line** | + | |
- | > | + | I used FTP client during about ten years and started it by calling: |
- | > 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. | + | D:\Installer\SSH-client-portable\winscp417.exe |
- | > | + | |
- | > Here is the command line:\\ | + | I had only |
- | > ''winscp.exe /console /script=test.txt /log=log.txt'' | + | to select: 1 of my 2 domains listed there |
- | > | + | and |
- | > Here is the script:\\ | + | ···to enter a password. |
- | > ''option batch abort''\\ | + | |
- | > ''option confirm off''\\ | + | Today, for calling the FTP client suddenly the reply to my call has ben massively changed. |
- | > ''open sftp://user:pass@site -timeout=60''\\ | + | A complex field shows up with a menue: |
- | > ''option transfer binary''\\ | + | ·············· |
- | > ''get *05152008*''\\ | + | ·············-Session |
- | > ''close''\\ | + | ·············----Stored sessions |
- | > ''exit'' | + | ··············-Environment |
- | > | + | ··············----Diectories |
- | > After running the script I get following in console:\\ | + | ·············SSS |
- | > ''batch ··········abort''\\ | + | ·············---- Preferences |
- | > ''confirm off''\\ | + | |
- | > ''Too many parameters for command 'open'.'' | + | Now the followig input is requested from me: |
- | > | + | |
- | > Using WinSCP 4.0.7 on Windows 2000. | + | ·············Host name ······Port number |
+ | ·············User Name Password | ||
+ | ··············Private key file | ||
+ | ·············Protocol | ||
+ | |||
+ | After about 10 years I forgot all this data except the password. | ||
+ | |||
+ | I need your help. | ||
+ | |||
+ | Greetings from | ||
+ | |||
+ | Prof. Dr.-Ing. Reiner Hartenstein | ||
+ | http://hartenstein.de | ||
+ | http://helios.informatik.uni-kl.de/staff/Hartenstein.html | ||