February 24, 200619 yr I'm working on a system where customers via iwp can fill out a form and then upload files by bushing a button. the files sizes can be up to 500 mb, does anyone have any ideas or exambles how to upload files in iwp, i don't want the files to upload in the database, but in shared folder on the computer, in the database should only show a reference of the files
February 24, 200619 yr As part of your "upload" script you could temporarily store the file within a global container, then when it has finished uploading it, export it to a static location and manipulate its location and name etc. using apple script (of which i know absolutley nothing about) . Then you could either a) use a calc to pic up the files location automatically, insert it manually or c) i dont remember but im sure it was a good point. ~Genx
February 24, 200619 yr ... oh right, this version fm 8 advanced, oops... In that case, you dont have to use apple script, just define the filepath and the filename you want the file to be saved as using a variable, then just export it out of the global to that variable which you have defined as a location. I.e. SetVar [$Location ; filemac:/c:/desktop/file.exe ] Export [ globalfield::table ; $Location ] P.s. ignore the format of my filepath and the path itself, i always have to look filemakers backwards paths up to get them right. Anyway, goodluck ~Genx
February 25, 200619 yr The only problem with this is that container fields don't work with IWP... it only handles text input. So to pull this off, you'll need to use a plugin like Uploadit to do what you want. http://www.cnsplugins.com/
Create an account or sign in to comment