I am using Robotask v5.8 on Windows Server 2003 (in French).
And I am having a simple task to test SFTP connection. I need to use a SSH Key to connect to the SFTP server. Therefore I used the PUTTY tool to create a profile and generate the SSH KEY and it was successfully done.
My task is:
Code: Select all
;*****************************
;* RoboTask Task file
;* Do not edit in text editor!
;*****************************
[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|-1
CatID=INTEGER|0
Comment=STRINGLIST
ContinueOnError=INTEGER|0
ExternalName=STRING|"Task1"
Hide=INTEGER|0
ID=INTEGER|2046889797
LogOnAsUser=INTEGER|1
Name=STRING|"Test SFTP Login"
OnErrorTaskID=INTEGER|0
Priority=INTEGER|3
RunOnClose=INTEGER|0
RunOnStartup=INTEGER|0
ToLog=INTEGER|3
WriteGeneralLog=INTEGER|0
[Actions]
Action1=FOLDER
Action2=FOLDER
[Actions\Action1]
ActionID=STRING|"A_SFTP_LOGON"
Enabled=INTEGER|-1
Name=STRING|"SFTP Open (user@10.187.0.15)"
Params=FOLDER
[Actions\Action1\Params]
host=STRING|"10.187.0.15"
password=STRING|"******"
passwordmode=STRING|"1"
port=STRING|"522"
profile=STRING|"SFTP-Experian"
username=STRING|"user"
[Actions\Action2]
ActionID=STRING|"A_SFTP_LOGOFF"
Enabled=INTEGER|-1
Name=STRING|"SFTP LogOff"
I: 26/03/2014 10:25:58: ****** Starting task: Test SFTP Login ******************
I: 26/03/2014 10:25:58: Executing "1.SFTP Open (user@10.187.0.15)"
E: 26/03/2014 10:25:58: Can't open SFTP session
E: 26/03/2014 10:25:58: Can't run PSFTP.EXE
E: 26/03/2014 10:25:58: An error occurred. Step #1 (SFTP Open (user@10.187.0.15)).
E: 26/03/2014 10:25:58: Task execution is aborted
Note 1: The psftp.exe is existing in Robotask installation folder. The version that came with Robotask was 0.62. I even downloaded the latest version (0.63) from putty site, but I am still having the same error.
Note 2: I can successfully telnet the SFTP server. I can also successfully connect to the SFTP using the psftp.exe from Command Prompt.
Does anyone experienced this problem?