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.

.jpg files uploaded from container field are 0 kb in size

Featured Replies

Hi, I have a container field that I've pasted a FileMaker 11 chart into. I now want to upload that as a .jpg file to my web host using a few other fields as variables to name the file and point it to the proper directory. When I attempt to do this it uploads a file to the proper directory with the proper name but the file is 0 kb in size.

What have I done wrong? I can export the field as a jpg using FileMaker's "Export Field Contents" step. Am I missing some sort of conversion step to actually convert it into a .jpg file? Thanks for any help you can provide. -Charlie

Screen Shot attached...

post-105531-0-35179700-1318980469_thumb.

Is this from a referenced container field?

  • Author

Actually, it's not. And I think that's the critical part of my problem. Since it's a pasted graphic, the graphic itself has no name. Is there a way to name the graphic after it's inside the container field? Thanks in advance.

  • Author

Or is there a way to name the graphic as it is being uploaded to the website via FTPeek?

  • Author

Ah, OK, it looks like I have to write a script that exports the container field's contents to a file that I name. Then I can re-load that file into the container field and upload the referenced file using FTPeek. I missed that step, thanks.

I was able to reproduce your issue. I created a chart and drug it into a container then tried to upload it. The file was 1 byte large. Not quite 0, but close enough as to not make a difference. I have reported it to be looked at by a developer.

Yes, that's definitely the best way to get it done now. It should, however, already be able to upload in the way you specified in your script. I suspect I know what the issue is, but I can't give any sort of time frame on when it'll be fixed.

  • 2 weeks later...

To clarify the problem here: When pasting in graphics you are pasting in clipboard data, not an actual file. Because you don't actually have a file stored in your container there is nothing for our plugin to upload for you. When you save it and re-import it you are creating an actual file which can then be uploaded using the plugin.

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.