- Code: Select all Expand view RUN
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?