Jump to content

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

Recommended Posts

  • Newbies
Posted

I have a field which contains the relative path of a sound's file, called "path_file".

I have a field, calculated, with text output, and the format: "ftp://192.168.1.1/"& path_file

I have made a button (called "download sound") linked with a script's step "OPEN URL:path_file.

I need an instant publishing with Web Companion (I'm not able to use CDML or any other program-language) and I need that when an user click on the button, Web Companion starts to download the file.

It works if I access to the published database from the Host, but it doesn't when I access from a client PC's browser. (I get an error: "This link doesn't exists).

Is it capable Web Companion's instant publishing for managing downloads with ftp?.

What's wrong in my formula?.

Thank you and sorry for my bad English.

Antonio Duarte

Murcia-Spain.

confused.gif

  • 2 weeks later...
Posted

Hello, Antonio! I do not think what you want can be done, even with Custom Web Publishing. I think you have it working on the HOST only because the host has FileMaker Pro and it can directly execute the script. When someone accesses your database from the web, they do not have FileMaker so I do not think the script can operate correctly for them... maybe on the host only.

With Custom Web Publishing, I have heard that people have to use PHP or other advanced scripting to do file upload/download. FileMaker cannot do it by itself.

Good luck!

--ST

  • 2 weeks later...

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