home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / t / tpapi.zip / NWFSERV.DOC < prev    next >
Text File  |  1992-03-02  |  4KB  |  104 lines

  1. FILE SERVICES
  2. =============
  3.  
  4.  
  5. EraseFiles (DirectoryHandle : BYTE; DirectoryPath : PathNameType;
  6.             SearchAttributes : BYTE) : WORD;
  7.  
  8.   Erases files from a directory.
  9. --------------------------------------------------------------------------------
  10. FileServerFileCopy (VAR SourceFile, DestinationFile : FileOfByte;
  11.                     SourceFileOffSet, DestinationFileOffSet,
  12.                     NumberOfBytesToCopy : LONGINT;
  13.                     VAR NumberOfBytesCopied : LONGINT) : WORD;
  14.  
  15.   NOTE : To copy a whole file SFO, DFO should be 0 and NOBTC should be
  16.          greater than or equal to the size of the source file.
  17.  
  18.   Copies a file, or a portion of a file, to another file on the same file
  19.   server.
  20. --------------------------------------------------------------------------------
  21. GetExtendedFileAttributes (FilePath : PathNameType;
  22.                            VAR ExtendedFileAttributes : BYTE) : WORD;
  23.  
  24.   Returns a file's extended attributes.
  25. --------------------------------------------------------------------------------
  26. PurgeAllErasedFiles : WORD;
  27.  
  28.   NOTE : Netware 286 only.
  29.  
  30.   Permanently deletes all files that are marked for deletion.
  31. --------------------------------------------------------------------------------
  32. PurgeErasedFiles : WORD;
  33.  
  34.   NOTE : Netware 286 only.
  35.  
  36.   Permanently deletes all files that a workstation has marked for deletion.
  37. --------------------------------------------------------------------------------
  38. PurgeSalvagableFile (386)
  39.  
  40.   NOT FULLY IMPLEMENTED
  41.  
  42.   Permanently deletes a file that has been marked for deletion.
  43. --------------------------------------------------------------------------------
  44. RecoverSalvagableFile (386)
  45.  
  46.   NOT FULLY IMPLEMENTED
  47.  
  48.   Recovers a file that has been marked for deletion.
  49.  
  50. --------------------------------------------------------------------------------
  51. RestoreErasedFile (DirectoryHandle : BYTE; VolumeName : VolumeNameType;
  52.                    VAR ErasedFileName, RestoredFileName : FileNameType) : WORD;
  53.  
  54.   NOTE : Netware 286 only.
  55.  
  56.   Restores one file on the file server that has been marked for deletion by the
  57.   requesting workstation.
  58. --------------------------------------------------------------------------------
  59. ScanFileEntry (386)
  60.  
  61.   NOT FULLY IMPLEMENTED
  62.  
  63.   Scans a directory and returns information about the specified entry.
  64. --------------------------------------------------------------------------------
  65. ScanFileInformation (DirectoryHandle : BYTE; FilePath : PathNameType;
  66.                      SearchAttributes : BYTE; VAR SequenceNumber : INTEGER;
  67.                      VAR FileName : FileNameType; VAR FileAttributes,
  68.                      ExtendedFileAttributes : BYTE; VAR SizeOfFile : LONGINT;
  69.                      VAR CreationDate, LastAccessDate : WORD;
  70.                      VAR LastUpdateDateAndTime, LastArchiveDateAndTime : LONGINT;
  71.                      VAR FileOwnerID : OT_BinderyID) : WORD;
  72.  
  73.   NOTE : On initial call SequenceNumber must contain -1.
  74.  
  75.   Returns information about a file.
  76. --------------------------------------------------------------------------------
  77. ScanFilePhysical (386)
  78.  
  79.   NOT FULLY IMPLEMENTED
  80.  
  81.   Scans a directory and returns information about the specified entry,
  82.   including the file's physical size.
  83. --------------------------------------------------------------------------------
  84. ScanSalvagableFiles (386)
  85.  
  86.   NOT FULLY IMPLEMENTED
  87.  
  88.   Scans a directory and returns file entry information about deleted files.
  89. --------------------------------------------------------------------------------
  90. SetExtendedFileAttributes (FilePath : PathNameType;
  91.                            ExtendedFileAttributes : BYTE) : BYTE;
  92.  
  93.   Sets a file's extended attributes.
  94. --------------------------------------------------------------------------------
  95. SetFileInformation (DirectoryHandle : BYTE; FilePath : PathNameType;
  96.                     SearchAttributes, FileAttributes,
  97.                     ExtendedFileAttributes : BYTE; CreationDate,
  98.                     LastAccessDate : WORD; LastUpdateDateAndTime,
  99.                     LastArchiveDateAndTime : LONGINT;
  100.                     FileOwnerID : OT_BinderyID) : WORD;
  101.  
  102.   Sets file information for a file on the server.
  103. --------------------------------------------------------------------------------
  104.