Jump to content

Scriptmaster- List All Files In Dir.- Remote Path Syntax


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

Recommended Posts

Posted

Hello,

I can get the module to work with local directories,but don't know the path syntax for remote volumes. Is the syntax going to be the same for mac and windows?

Thanks,

John

Posted

The path will be different on mac and windows, and you will need to connect to/mount the drive before you can get the directories from it.

On mac, you will use /Volumes/[VolumeName]/myFolder/

On Windows you will use the drive letter you are connecting to, such as D:/myFolder/

  • 3 weeks later...
Posted

Hi Dave,

Do you need to use a drive letter for a remote volume or is it possible to use a UNC path instead?

servernamevolumenamepathname

I tried this but no luck.

Thanks,

John

Posted (edited)

It may be possible to do it that way... I'm not sure really. We've had mixed reports about that and I think you may need to be working on a network domain in order to make things work this way.

I know one issue that you will run into if you try to do it that way is permissions. When you connect to a share that way you will need to log in as a specific user. You will need to make sure that the user FileMaker/FileMaker Server is running as and is connecting to the share as has permissions to access that share.

Edited by Guest
Posted

I tested this with a sharepoint server in a Citrix environment and it worked, but there was a service turning to allow the direct access using this path. So I don't know if this might be the reason why sometimes it is working and sometimes not.

  • 1 year later...
Posted

The path will be different on mac and windows, and you will need to connect to/mount the drive before you can get the directories from it.

On mac, you will use /Volumes/[VolumeName]/myFolder/

I used Select Path() to get the path to the desired file and assigned it to $$FilePathVariable. It didn't work.

So I added "Volume/VolumeName"&$$FilePathVariable and it too does not work. grrrr

How can I get the proper syntax? Thanks

On Windows you will use the drive letter you are connecting to, such as D:/myFolder/

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