afp

What is the best tool for manipulating AFP print streams?

The IBM print file format is AFP. Advanced Function Presentation (AFP) is a presentation architecture and family of associated printer software and hardware that provides for document and information presentation independent of specific applications and devices. This is a binary, record based format, for high volume printing. Ther...

Add PDF to AFP Output

We're trying to take a PDF file created in a web application and dynamically insert it into an AFP datastream on an IBM iSeries. Does anyone know if this is possible? ...

How to connect a Windows client to an OSX Server with AFP

We are using OSX servers and clients with AFP (Apple Filing Protocol) and want to connect the only Windows (Vista x64) client to the server shares without having to enable SMB. Is there still any AFP client for Windows available? All that I've found are Windows AFP servers, but that's not what we need. ...

Mac OS X: Sharing Folders via Terminal

Is there a command line utility for creating network shares, using the Apple Filing Protocol (afp://)? ...

Working with AFP in Objective-C/Carbon

I'm working on an app that needs to transfer files to an AFP volume -- ideally, it wouldn't mount the volume on OSX, since it's really unnecessary. Looking over the AFP protocol stuff, I came across an old Carbon header file "afpDatastream.h". This used to be in the framework "AppleShareClientCore", however it's no longer there (on Leo...

AFP file permission issues on OS X

I have two clients (one windows XP and one OSX) connected to a UNIX server (centOS). The windows client connects through the Samba file protocol, and the mac through AFP. For some reason the OSX machine ignores the permissions set even when they are changed to 444; it just overrides the priveleges and is able to write to the file (along ...

Mounting afp share containing other afp mount.

Scenario: Machine A has a share called 'foo'. Machine B has a share called 'bar'. Machine B mounts foo and symlink it in to a sub folder in bar. Machine C mounts bar. Users of machine C should now have access to files in foo. I really would like to do this on OSX with afp, but I've heard that this likely will not work. Is there anot...

Access an AFP share from iPhone?

Hi, I wonder whether it's possible to connect to an AFP (Apple Filing Protocol) share from my iPhone. I have a share in my WiFi network and would like to browse and read files on that share from my iPhone. Is there a way to do that with the official SDK? If not, are there any libraries out there that I could use? Thanks. ...

Determine AFP share from a file URL

I writing an application to copy some files to a certain location. It allows the user to choose the destination, which is always on an AFP share. This is done with a NSOpenPanel. The URL that gets returned is: file://localhost/Volumes/Oliver%20Legg's%20Backup/. What I want to accomplish is when the application is started, if the AFP sha...

File sharing discovery in Cocoa

I'm trying to programmatically discover and then mount network volumes shared using OS X's file sharing from a Cocoa app. I'm using NSNetServiceBrowser to discover which servers are advertising file sharing - easy enough. My question is about the next step - how do you discover what shares are available for a given machine? ie. given th...

Is there a clean cut way of adding NOP records to an AFP file using Java?

I have created an AFP file using embedded FOP Trunk. Since FOP Trunk does not support the no-operation tag directly under root I need to modify the created file to add a NOP record as the first record in the file. How does one do this? ...

Retrieving Absolute URL from File on Mounted Volume in Cocoa

Is there any way of retrieving an absolute URL for a file on a mounted volume in Cocoa? For example, say afp://server/Documents is mounted at /Volumes/Documents. How can I get full URL to a file on the mounted volume in the form of afp://server/Documents/path/to/file? I've tried using statfs but the value of f_mntfromname doesn't con...

Can a file opened in java be locked across an afp mount?

I'm trying to get a file lock across a mount point via Java 6 on OSX: private void tryLockThroughShare() { String path = "/Volumes/Groups/mcm/javaTestInShare.txt"; try { RandomAccessFile raf = new RandomAccessFile(path, "rw"); FileLock flock = raf.getChannel().tryLock(); System.out.printf("File %s is %s\...

How can I export a AFP or XSL-FO file from Jasperreport

I am using Jasperreport to generate a report, it supports pdf, word, xml, and etc. file format, but there is no afp format, if anyone have some better solution, please tell me, thank you every much. ...

AFP or SMB file links in a url

Is it possible to create a url in the form of afp://server/share/someDirectory/someFile.ext to when you open it on a mac in safari, or through mail, it navigates to that folder or file? I've played with the file://localhost/share/someDirectory/someFile.ext but this often times will not be universal across a group of machines. Mac adds ...