bens Posted February 24, 2006 Posted February 24, 2006 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
Genx Posted February 24, 2006 Posted February 24, 2006 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
Genx Posted February 24, 2006 Posted February 24, 2006 ... 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
Reed Posted February 25, 2006 Posted February 25, 2006 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/
Recommended Posts
This topic is 7115 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 accountSign in
Already have an account? Sign in here.
Sign In Now