Limit on string variable
- New
- Advice
-
Louis Arena
- PowerBuilder
- Wednesday, 8 October 2025 08:08 PM UTC
I came across a weird problem, as a result of some consultants changing how I stored files. I used to store files in Dropbox, then they convinced the boss to change to Amazon S3 and it requires to upload the file as a string encoded in base64. As a result files over 5 Meg (approximately) cannot be uploaded because the string variable is only 32K.
for example this code
inv_coderobject = create coderobject
ls_file64 = inv_coderobject.base64encode(lblb_data)
the end of the variable ls_file64 will say something like FILE TO BIG or something.
What would be a good workaround for this?
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.