Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

FMS 11 JDBC exporting pdf container

Featured Replies

  • Newbies

We're using Filemaker Server 11.  With ODBC/JDBC enabled.

 

Over the years files have been embedded in the records in containers.  I need to be able to pull these into our website so i've connected via JDBC and am pulling files in.

 

http://www.filemaker.com/support/product/docs/11/fmp/fm11_odbc_jdbc_guide_en.pdf using this document as my reference.

 

.ai .zip .psd all come out fine with GetAs(field, 'FILE')  

.png files come out fine GetAs(field, 'PNGf')

 

But when I try to pull out .pdf files with GetAs(field, 'PDF') like the documentation indicates I should be able to, it throws 'PDF' is not a valid stream name.

Of course i've tried 'FILE', 'PNGf', 'EMBO'

 

Also appears most jpg's fail to download too with GetAs(field, 'JPEG').  Tried 'JP2' but it claims its not a valid type either.

 

The list shows:

 

'EMF+' Windows Enhanced Metafile Plus
'PDF ' Portable Document Format
'EPS ' Embedded PostScript
'PICT' Mac OS (does not have 512-byte file-based header)
'FPix' Flash (FPX)
'PNGf' Bitmap image format
'FORK' Resource fork (Mac OS)
'PNTG' MacPaint
'GIFf' Graphics Interchange Format
'qtif' QuickTime image file
'JPEG' Photographic images
'.SGI' Generic bitmap format
'JP2 ' JPEG 2000
'TIFF' Raster file format for digital images
'META' Windows Metafile (enhanced)
'TPIC' Targa
'METO' Windows Metafile (original)
'XMLO' Layout objects
'moov' Old QuickTime format (Mac OS)
'8BPS' PhotoShop (PSD)
 
Is there a way to retrieve the 'stream' type?
  • 2 months later...
  • Author
  • Newbies

Ok so I ended up using the ROWID plugging it into the XML API and downloading the files that way.  Now i've got all of the files out.  But for a legacy layout I need to put some files back in.  Hopefully this can be done via the xml api?

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.