Jump to content

file uploading and FM5


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

Recommended Posts

If I want to allow a customer to upload files within my form page how can I accomplish this so

that they attach the file before submitting then the item's get placed into a folder with the corresponding Record ID as the folder name. ( so that the uploaded files and the quote request can be matched up)??

Lastly I'll be using FM5 Unlimited and FM5 Server on the same cpu. Is this all right or should I be using anything else in front of it or on the same server machine?

Thank you in advance. crazy.gif" border="0

Link to comment
Share on other sites

  • 4 weeks later...

file upload cannot be done with Web Companion. It will have to done with another web server program or some such.

This question comes up regularly on the Forum, and it's the only one with a "no can do" answer.

Link to comment
Share on other sites

  • 4 weeks later...

I use WebStar server for the file uploading. The user uploads images into the folder which has the same name as his "UserID".

The form that submits text via Web Companion has to be separate from the form that submits a file via WebStar's File Upload plug-in.

I make the user submit the text form and then take him to a page saying thank you. On that page there is a pop-up window link which takes him to another page which allows file uploading.

By using FileMaker scripts, which then perform applescripts, "UserID" folders are automatically created everytime a new Users.fp5 record is created via an online form.

Look at the Applescripts section of the FM Forum to see how a new folder can be created with a new record. Then using CDML, you can provide a direct link to that folder such as http://yourdomain/images/[FMP-field: UserID]/. This folder can contain the ".upload" and ".messages" text files, required by WebStar to allow HTTP file uploading via the browser. You can also automatically copy these ".upload" and ".messages" files into each newly created folder by adding code into the same applescript which creates the new folder.

smile.gif" border="0

[ May 22, 2001: Message edited by: krishan ]

Link to comment
Share on other sites

We use asp scripted page with filemaker (ISS5.0) to allow uploads. You need SA-fileup too and some simple ASP coding.

ASP page uploads the file. When file is uploaded we just make an -edit to Filemaker database record (to edit file link to database).

Works perfeccly with us.....

Link to comment
Share on other sites

This topic is 8465 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.