Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parsing a target path.

Status
Not open for further replies.

mmerlinn

Programmer
May 20, 2005
748
US
I recently networked two Macs together and can now access and change any file on either machine from either machine. But so far I have not found a way for FP to find the files on the other machine.

I believe I know that I must use a path form something like <target machine name><target machine pathname>, but so far I have not found a way for a FP program on Machine-1 to access files on Machine-2. The most common error message I get is that <target path> does not exist, yet when I open the directories on either machine, I can read/write/delete the files.

Can someone direct me to a tutorial or something else that shows how I must construct the <target path>?

I know about SYS(0) and have used that to find the names of the machines. I just don't know how to parse the path.

mmerlinn


Poor people do not hire employees. If you soak the rich, who are you going to work for?

"We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding. Answering questions for careless and sloppy thinkers is not rewarding." - Eric Raymond
 
Boy does this reach back a long way.

<machine name>:<path> should get you there *IF* (and this is always a big one) there are no spaces anywhere in the target path or machine name. IIRC, FPM was hinky about spaces in path/file names.
 
<machine name>:<path>.

This is what I thought and tried, but I get the error message that the target does not exist.

FPM is hinky about spaces and I never allow spaces because of that.

FPM has no problem accessing the files if they are on the same machine as the program, but just can't find them on the other machine.

mmerlinn


Poor people do not hire employees. If you soak the rich, who are you going to work for?

"We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding. Answering questions for careless and sloppy thinkers is not rewarding." - Eric Raymond
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top