Page 1 of 1

User Password for SFTP OPEN command

Posted: Tue Nov 06, 2018 3:45 pm
by Giupeppe
Hello;

I'm having an issue with a password of 10 characters to log in a SFTP site: last character of the password is changed to a weird character and, as result, RoboTask cannot log-in...

I have also attached an image.

Thanks

Re: User Password for SFTP OPEN command

Posted: Tue Nov 06, 2018 5:00 pm
by Oleg
Maybe I don't understand something
But I tested this password on out test SSH server
It worked without problems
My example is below

Code: Select all

;*****************************
;* RoboTask Task file
;* Do not edit in text editor!
;*****************************
 
[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|-1
CatID=INTEGER|1075658632
Comment=STRINGLIST
ContinueOnError=INTEGER|0
DoNotStopWhenShutdown=INTEGER|0
ExternalName=STRING|"Task510"
Hide=INTEGER|0
ID=INTEGER|1168755380
LogOnAsUser=INTEGER|1
Name=STRING|"SFTP Open (user@192.168.44.140)..."
OnErrorTaskID=INTEGER|-1
Priority=INTEGER|3
RunOnClose=INTEGER|0
RunOnStartup=INTEGER|0
ToLog=INTEGER|3
UnicodeFormat=INTEGER|1
WriteGeneralLog=INTEGER|0

[Actions]
Action1=FOLDER
Action2=FOLDER
Action3=FOLDER

[Actions\Action1]
ActionID=STRING|"A_SFTP_LOGON"
Enabled=INTEGER|-1
Name=STRING|"SFTP Open (user@192.168.44.140)"
Params=FOLDER

[Actions\Action1\Params]
host=STRING|"192.168.44.140"
password=STRING|"837718411679268667176666054893"
passwordmode=STRING|"1"
port=STRING|"22"
usecertificate=STRING|"0"
username=STRING|"user"

[Actions\Action2]
ActionID=STRING|"A_SFTP_COMMAND"
Enabled=INTEGER|-1
Name=STRING|"SFTP command (dir)"
Params=FOLDER

[Actions\Action2\Params]
command=STRING|"dir"
variable=STRING|"out"

[Actions\Action3]
ActionID=STRING|"A_DIALOG_MESSAGE"
Enabled=INTEGER|-1
Name=STRING|"Show ""{out}"""
Params=FOLDER

[Actions\Action3\Params]
icon=STRING|"1"
msg0=STRING|"{out}"
msgcount=STRING|"1"
playsound=STRING|"0"
showmessage=STRING|"1"

Re: User Password for SFTP OPEN command

Posted: Tue Nov 06, 2018 7:48 pm
by Giupeppe
Hello.
Change the last character of the password with 4.
Then press OK and save.
Then open again the SFTP OPEN command: the character 4 should be replaced by a symbol.
That's what happens in my environment.

Re: User Password for SFTP OPEN command

Posted: Tue Nov 06, 2018 9:10 pm
by Oleg
I tried test example with password sctsal0304
It works. I also tried to restart RoboTask. It works correctly
Then open again the SFTP OPEN command: the character 4 should be replaced by a symbol.
That's what happens in my environment.
Very strange... We'll try to investigate this, but I can't reproduce this...

Re: User Password for SFTP OPEN command

Posted: Tue Nov 06, 2018 9:10 pm
by Oleg
What operating system do you use?