How do I transfer files between two different applications using the API_Upload technique with base64 encoding

  • 0
  • 1
  • Question
  • Updated 6 years ago
  • Answered
I have a file/files stored in one application(which I learnt stores the it onto Intuit's File Database not the application database), using javascript when I use the API_AddRecord api to transfer the same record to the table of another application, everything works fine leaving the File Attachment, which is not transferred. I have read about keeping the file in base64 format and than uploading or downloading it, but how to I achieve this while using the API_AddRecord? Because some the files in the first application are uploaded from the local system and I do not have control over how the users upload. Please give me some Idea how to proceed with this issue.
Any example would be really helpful !!!
Photo of Azh7

Azh7

  • 30 Points

Posted 6 years ago

  • 0
  • 1
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,184 Points 20k badge 2x thumb
I created an example to do this previously using the HTML5 File Api. See:

https://quickbase-community.intuit.com/questions/61130

https://www.quickbase.com/db/bgcwm2m4g?a=dr&rid=181

The example was tested in FireFox and probably could be made to work in other modern browser except IE.

It is worth mentioning that a related problem of selecting multiple files and uploading them to QuickBase can be ridiculously simple to do using the HTML5 File API. Also, the File API allows you to read a file after selection so you can process the file BEFORE uploading to a server. It is even possible to load a file into your browser, extract information form the file, and send the extracted data to QuickBase without uploading the file itself.

This conversation is no longer open for comments or replies.