Re: Encrypt & decrypt blobs

2019-04-19 Thread Chip Scheide via 4D_Tech
Keisuke, Thanks. I'll try on Monday. The text will likely never be more than 100 characters, so length is not really an issue. I did some quick testing - and it must be the encrypt/decrypt process, and Text to blob -> blob to text did not add the extra characters. Also - I will have to check t

Re: Encrypt & decrypt blobs

2019-04-19 Thread Keisuke Miyako via 4D_Tech
I wouldn't convert the text to MacRoman, max 32,000 bytes (i.e. v2004 format) text risking data loss - even if the possibility was minimal with small US ASCII - just to be safe (and fast). TEXT TO BLOB($Text_Ptr->;$Blob;Mac text without length) $Destination->:=BLOB to text($Blob;Mac text witho

Encrypt & decrypt blobs

2019-04-19 Thread Chip Scheide via 4D_Tech
I am putting text into a blob TEXT TO BLOB($Text_Ptr->;$Blob;Mac text without length) I encrypt the blob ENCRYPT BLOB($Blob;$Private_Key) I later extract this text DECRYPT BLOB($Blob;$Public_Key) $Destination->:=BLOB to text($Blob;Mac text without length) The text is extracted - and APPEA

Re: last(?) 2 built app questions :)

2019-04-19 Thread Chuck Miller via 4D_Tech
Yes you are correct, I am not sure where in the package it is Regards Chuck Chuck Miller Voice: (617) 739-0306 Informed Solutions, Inc. Fax: (617) 232-1064 mailto:cjmillerinformed-solutions

Re: not enough space in memory

2019-04-19 Thread Arnaud de Montard via 4D_Tech
> Le 16 avr. 2019 à 20:14, Peter Mew via 4D_Tech <4d_tech@lists.4d.com> a écrit > : > > Hi > I'm trying to load a large, 1.5G, audio file into a blob using document to > blob Hi Peter, what for? You could load parts of the document: RECEIVE PACKET ( docRef ; receptBlob ; aLotOfBytesButNotTo

FTP

2019-04-19 Thread stardata.info via 4D_Tech
Hi All, I use 4D V16 on windows. I need to test and take files from one ftp server area. Server's rules ask to me this: "Set binary mode" before to check the files. What is the 4D ftp command that i must to use? ftp_MacBinary Another question: I must to check periodically (1/2 minutes ) in f