Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6430 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Is it possible to use Filemaker to move a pdf from a local drive to the server disk? I think I've got the right idea, but I get an error message when I try to create a file on the server. This db is hosted by a third party server.

The script I have is as follows:

#IS THIS FILEPATH CORRECT?

Set Variable[$filepath; Get(FilePath) & "/Contracts/Contract_" & Invoices::)_kp_idInvoice & ".pdf"]

#

#User selects pdf

Insert File[invoices::ContractContainer]

#Script saves pdf to server, clears the field, then inserts a reference to that pdf

#

#THIS IS WHERE I GET ERROR 800, CAN'T BE CREATED ON DISK

Export Field Contents[invoices::ContractContainer; "$filepath"]

#

Go to Field[invoices::ContractContainer]

Clear[select]

Insert Picture[Reference; $filepath]

Thanks

DJ

Posted

I'm not quite sure but this looks ok except I don't think you should use the "$" symbol as part of a field name. If that is not it I would say the issue is on the server end.

This topic is 6430 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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