Highlighted
Absent Member.
Absent Member.
369 views

VUGen FTP Logon - Password unencrypted problem

Jump to solution
Hi All,
I'm recording an Ftp script with VUGen 9.52. The logon syntax is:
ftp_logon("FTP", "URL=ftp://user:password@ftp.mycompany.com", LAST );

Now I encrypt the password with "Password Encoder VUGen tool" so I want use function
lr_decrypt("4b6867659856b7thn") instead of the password in "URL=ftp://user:password@ftp.mycompany.com"

Which is the correct syntax?
Can anyone help me?
Thanks in advance
Michele
0 Likes
1 Solution

Accepted Solutions
Highlighted
Absent Member.
Absent Member.

Re: VUGen FTP Logon - Password unencrypted problem

Jump to solution
Use it as
lr_save_string(lr_decrypt("4b6867659856b7thn"),"PASSWORD");

ftp_logon("FTP", "URL=ftp://user:{PASSWORD}@ftp.mycompany.com", LAST );

Try this and let me know if it works for you.

Thanks
Prashanth Thimmavajjala

View solution in original post

0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

Re: VUGen FTP Logon - Password unencrypted problem

Jump to solution
Use it as
lr_save_string(lr_decrypt("4b6867659856b7thn"),"PASSWORD");

ftp_logon("FTP", "URL=ftp://user:{PASSWORD}@ftp.mycompany.com", LAST );

Try this and let me know if it works for you.

Thanks
Prashanth Thimmavajjala

View solution in original post

0 Likes
Highlighted
Absent Member.
Absent Member.

Re: VUGen FTP Logon - Password unencrypted problem

Jump to solution
Thanks Prashanth for your preciosus support.
Prashanth has solved the problem.
Michele
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.