Jump to content
ferret

Script for remote container file upload via Web Direct

Recommended Posts

Hi, 

 I wrote a script in FM Pro, which reads a list of files from given directory, searches through a set of records, and uploads each file into a container field of a matching record (the matching occurs by file name = unique record id). The script works great.... in FM Pro.... but not in Web Direct :(  I need your help in finding a solution for Windows system.

Thank you!

 

 

 

Share this post


Link to post
Share on other sites

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

  • Similar Content

    • By stan111
      Hi, 
      I created a dashboard with a bunch of buttons, attached script to every button, which allows me navigating to specific record of the Products table. Basically, every script is the same, with minor changes (only record ID field changes).
      The process of creating a script to every button is a very time consuming as I need to write a script that  a) goes to layout b)finds the certain record 
      1 "Step: Go to Layout
          Layout: Products
       
      2 Step: Perform Find" 
       
      Is there a way to simplify the task?
       
      Thanks!
    • By Jonathan Ackerman
      is it possible to append text or images to the end of a loaded doc. (not just another document)-
       
      i.e. something like--
       
      $result=ScribeDocAppend ("new stuff")
       
      it seems the function only looks to append other files, not text
      what i need is to be able to add custom text to the end of some documents-
       
      not sure how to do this.
       
      thanks!
    • By Stickybeak
      I am exploring accessing my solution through web direct using fmphost.
      solution works fine in server mode.
      however in web direct it says I do not have a sufficiently new version of scribe: I need > 2.15.
      problem is that I’m running 3.08 on my local Mac.
      is this an issue about file locations? Do I need to upload scribe or something?
    • By kims
      I am working on a script that will build a document based on a value from a drop down list.
      I have a layout that contains a Document Subtype. If a certain subtype is selected from the drop down list for this record, then I want my script to be able to pull from a specific container holding the appropriate document for that type. Then I can use Doc Append to combine the two documents. Each document would be custom then to the subtype.
      I'm pretty new at FileMaker so I'm still trying to figure a lot of things out and still trying to understand how to put things together and why it will/will not work.
      I was originally using Case but then I realized that was probably not the correct thing to do. It would either append both types of documents or one, but it wasn't always the correct one.
       
      Any guidance would be greatly appreciated.
       
      If this helps, I want something that will do this:
       
      If Subtype = a, b, or c, then append Doc 1
      If subtype = d, e, or f, then append Doc 2
      and so on...
    • By GisMo
      Somehow java updated (probably by mistake) and it killed web direct. Simply down grading java does not work. I've went as far back and un-installing java and then FMS. Then rebooting and performing a clean install of FMS. FMS 16.04 on windows server 2012 R2
      My hunch is something is wrong with all the site settings in IIS from uninstall and re-install.
       
      I get this error during deployment when trying to use web direct:
      Test web server (http://127.0.0.1:80/fmi-test/test.xml): Error code = 404 What are the complete steps to restore web-direct? Thank you
       
  • Who Viewed the Topic

    9 members have viewed this topic:
    ryan360Works  sh2658  Warren  Joshua Rivers  amallison  Lee Smith  Lola  Christian Chojnacki  Tim Anderson 
×

Important Information

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