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

Freitag

Siamquer wrote:

How can I change this line?


This is referring to one part of a larger script file. Probably some big FOO.BAT

This is not part of teh connection attempt when running the GUI version, only command line version.
Siamquer

How can I change this line?
martin

Re: script help with key public key authentication

Should be:
"C:\Program Files\WinSCP\"winscp.com /log=C:\Inetpub\ftproot\CSTCCxFTP\CSTCCBatch\ADP\DP\DP.log-%datestr%-%timestr%.log /command "option batch abort" "option confirm off" "open -hostkey=""ssh-rsa 1023 37:4a:1c:5e:5b:0f:14:ef:31:81:42:b6:d7:fc:c5:db"" CINCISTATEpPSSsftp@170.146.246.0" "cd INBOUND" "put dp.log"
codywang

script help with key public key authentication

Dear Sir,

I have script is able to login by by using public key authentication as below. However, it doesn't execute anything afterward, such as 'cd INBOUND". Any Idea? I even tried to put before open

"C:\Program Files\WinSCP\"winscp.com /log=C:\Inetpub\ftproot\CSTCCxFTP\CSTCCBatch\ADP\DP\DP.log-%datestr%-%timestr%.log /command "option batch abort" "open CINCISTATEpPSSsftp@170.146.246.0" /hostkey ="ssh-rsa 1023 37:4a:1c:5e:5b:0f:14:ef:31:81:42:b6:d7:fc:c5:db" "cd INBOUND" "put dp.log"