ftp.nice.ch/pub/next/connectivity/filetransfer/Yftp.0.564.NIHS.bs.tar.gz#/Yftp/Yftp.0.564/FtpFile.h

This is FtpFile.h in view mode; [Download] [Up]

#import <appkit/appkit.h>

@interface FtpFile:Object
{
	NXAtom myname;
	id parent;
	unsigned timestamp;
	long mysize;
	BOOL isDummy;
	BOOL isNew;
	BOOL isReadme;
	char	transferstatus; // 0:no 1:waiting in queue 2:transferring
	BOOL shouldautoopen;
	BOOL shouldreget;
	BOOL isselected;
	NXAtom localPath;
	NXAtom localName;
}

- initForName:(const char *)name withParent:parent;
- free;

- (unsigned) timestamp;

- (int) compareWith:otherFile;
- (const char *) name;
- parentDir;

- (BOOL) isFile;
- (BOOL) isDir;
- (BOOL) isReadme;

- setFileSize:(long) s;
- (long) fileSize;

- setDummy;
- (BOOL)isDummy;

- setNew:(BOOL)flag;
- (BOOL)isNew;

- setTransferStatus:(char) status;
- (char) transferStatus;

- setShouldReget:(BOOL)flag;
- (BOOL) shouldReget;

- setShouldAutoOpen:(BOOL)flag;
- (BOOL) shouldAutoOpen;

- setLocalPath:(NXAtom)path;
- (NXAtom) localPath;
- setLocalName:(NXAtom)name;
- (NXAtom) localName;

- fullPath:(char*)theFullPathPtr;

@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.