On a ftp procedure I use this configuration to upload and download a file from fwh
I wish use Encrypt and Decrypt functions
WritePProString("Config","Ftp",Encrypt(cFtp),::cIniFtp)
or
Local cFtp :=Decrypt( pad(GetPvProfString("Config","Ftp" ,"" ,::cIniFtp ) , 60 ," " ) )
When I encrypt fwh run ok and the infodata are save on ini file
but I use decrypt and I wish load the info data I saved it not return the data clear

If I insert a IP for sample 168.200.1.1 instead ftp.xxxx.it
it make error
Any solution please?
Local cFtp :=( pad(GetPvProfString("Config","Ftp" ,"" ,::cIniFtp ) , 60 ," " ) )
Local cFtpDir :=( pad(GetPvProfString("Config","FtpDir" ,"",::cIniFtp ) , 60 ," " ) )
Local cUser :=( pad(GetPvProfString("Config","User" ,"" ,::cIniFtp ) , 60 ," " ) )
Local cPws :=( pad(GetPvProfString("Config","Password" ,"" ,::cIniFtp ) , 60 ," " ) )
Local cUpdFile :=( pad(GetPvProfString("Config","Filename" ,"" ,::cIniFtp ) , 60 ," " ) )
Local cLocalDir:=( pad(GetPvProfString("Config","Cartella" ,"" ,::cIniFtp ) , 60 ," " ) )I wish use Encrypt and Decrypt functions
WritePProString("Config","Ftp",Encrypt(cFtp),::cIniFtp)
or
Local cFtp :=Decrypt( pad(GetPvProfString("Config","Ftp" ,"" ,::cIniFtp ) , 60 ," " ) )
When I encrypt fwh run ok and the infodata are save on ini file
but I use decrypt and I wish load the info data I saved it not return the data clear

If I insert a IP for sample 168.200.1.1 instead ftp.xxxx.it
it make error
Any solution please?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
