Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Configuration Files

So is there C:\Program Files (x86)\WinSCP\WinSCP.ini ?
tonjab

Configuration Files

We have WinSCP set up to use .ini config files. Yet when I run the SSIS package and check the logfile it creates it seems to be using the registry.


--- SSIS Process Task
Executable: C:\Program Files (x86)\WinSCP\WinSCP.exe
Arguments: -script=D:\SSIS\ETitleFiles\FDIImportScript.txt -log=D:\SSIS\ETitleFiles\import.log
Working Directory: D:\SSIS\ETitleFiles\

--- WinSCP Script File
option batch on
option confirm off
open fdielt
lcd D:\SSIS\ETitleFiles\Import\
cd /upload
get *.UP
exit

--- Latest Log File
2011-07-27 12:46:39.969 --------------------------------------------------------------------------
. 2011-07-27 12:46:39.969 WinSCP Version 4.3.3 (Build 1340) (OS 6.1.7600)
. 2011-07-27 12:46:39.969 Configuration: HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\
. 2011-07-27 12:46:39.969 Login time: Wednesday, July 27, 2011 12:46:39 PM
. 2011-07-27 12:46:39.969 --------------------------------------------------------------------------
. 2011-07-27 12:46:39.969 Session name: fdielt (Ad-Hoc session)
. 2011-07-27 12:46:39.969 Host name: fdielt (Port: 22)
. 2011-07-27 12:46:39.969 User name: (Password: No, Key file: No)
. 2011-07-27 12:46:39.969 Tunnel: No
. 2011-07-27 12:46:39.969 Transfer Protocol: SFTP (SCP)
. 2011-07-27 12:46:39.969 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2011-07-27 12:46:39.969 Proxy: none
. 2011-07-27 12:46:39.969 SSH protocol version: 2; Compression: No
. 2011-07-27 12:46:39.969 Bypass authentication: No
. 2011-07-27 12:46:39.969 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2011-07-27 12:46:39.969 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2011-07-27 12:46:39.969 SSH Bugs: -,-,-,-,-,-,-,-,-
. 2011-07-27 12:46:39.969 SFTP Bugs: -,-
. 2011-07-27 12:46:39.969 Return code variable: Autodetect; Lookup user groups: Yes
. 2011-07-27 12:46:39.969 Shell: default
. 2011-07-27 12:46:39.969 EOL: 0, UTF: 2
. 2011-07-27 12:46:39.970 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2011-07-27 12:46:39.970 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2011-07-27 12:46:39.970 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2011-07-27 12:46:39.970 Cache directory changes: Yes, Permanent: Yes
. 2011-07-27 12:46:39.970 DST mode: 1
. 2011-07-27 12:46:39.970 --------------------------------------------------------------------------
. 2011-07-27 12:46:39.970 Looking up host "fdielt"