Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ftp with web companion instant publishing

Featured Replies

  • Newbies

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...

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...
  • Author
  • Newbies

OK, thank you very much.

???-)

Antonio Duarte

Murcia - Spain

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.