Saving file on shared drive (osx to windows)

I’m trying to save a file from osx to a mapped windows drive. My problem is that OF is prefixing the path to the projects data folder to my desired absolute path. So instead of this:


It is trying to create a file here:


If looks like ofFile is adding ofToDataPath onto my path string in the ofFile:open method:

myFile = std::filesystem::path(ofToDataPath(_path.string()));

Is there a way around this?

EDIT: I’ve figured this out. The issue wasn’t OF. It is simply that once a network drive is mounted, it needs to be accesses via ‘/Volumes…’ so for me the following works:

ofFile newFile("/Volumes/Share/HELLO.txt", ofFile::ReadWrite);