October 18, 201114 yr 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...
October 19, 201114 yr 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.
October 19, 201114 yr Author Or is there a way to name the graphic as it is being uploaded to the website via FTPeek?
October 19, 201114 yr 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.
October 19, 201114 yr 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.
October 19, 201114 yr 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.
November 1, 201114 yr 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