User Password for SFTP OPEN command

Discuss RoboTask here
Post Reply
Giupeppe
Posts: 2
Joined: Tue Nov 06, 2018 3:37 pm

User Password for SFTP OPEN command

Post 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
Attachments
Immagine 49.png
Immagine 49.png (6.14 KiB) Viewed 7485 times
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: User Password for SFTP OPEN command

Post 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"
Oleg Yershov
Giupeppe
Posts: 2
Joined: Tue Nov 06, 2018 3:37 pm

Re: User Password for SFTP OPEN command

Post 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.
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: User Password for SFTP OPEN command

Post 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...
Oleg Yershov
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: User Password for SFTP OPEN command

Post by Oleg »

What operating system do you use?
Oleg Yershov
Post Reply