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.

Problem with Copy files on OSX Server

Featured Replies

Hi Folks

I try to copy a file from an FTP-Folder on a Raid to the documents folder of FileMaker Server Advanced 10 on a Mac OSX Server. The case is, that I will daily get files from an external source into the FTP folder, have to copy them to the documents folder as FileMaker allows only this folder for automatical import.

I tryed with the provided functions in ScriptMaster and do the following steps:

0. Register all needed functions

1. Set src and dest pathes (incl. FileName)

2. Check if file exits

3. Copy file

4. Import file

5. Delete dest file

I come until step 2, but there I get the information that the file does not exist. The variables defined are:

$src = /Raid/Backup Datenbanken/DataImport/NF_13.07.2010.txt

$dest = /Server HD/Library/FileMaker Server/Data/Documents/NF_13.07.2010.txt

In step 0. I register CopyFile, DeleteFileOrFolder, CheckWheatherFileExists as it comes with ScriptMaster.

I get until step 2 and there I check if the file exists. I get back a 0 - but the file is physically at the right location, it's there.

Can anybody give me a hand what might be wrong?

Thanks in advance!

Martin

You need to use valid OS X style paths. The ones you are using start with the name of the hard drive, which is not correct. If you're referencing an item on the startup disk, just start with a / and don't put the name of the hard drive, like this:

/Library/FileMaker Server/Data/Documents/NF_13.07.2010.txt

For hard drives other than the boot drive, prefix them with the word /Volumes, like this:

/Volumes/Raid/Backup Datenbanken/DataImport/NF_13.07.2010.txt

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.