April 18, 200718 yr 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
April 19, 200718 yr 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.
Create an account or sign in to comment