Posts tagged as File System

  • How to have a temporary stream, with no size limit

    October 20, 2010Delphi Articles6 Comments

    While writing code, sometimes we need to store some intermediate data in a temporary storage. Usually a temporary variable or memory stream is enough to save the data, but it is not safe when the data is large. In this post, you will find the implementation of a simple stream class that encapsulates a temporary file for using as an intermediate storage.

  • How to find if a directory is writable

    September 22, 2010Delphi Articles1 Comment

    When any software wants to save a file in a directory, first it should check whether it has the write access to the directory. In this post, there is the implementation of a small Delphi function to check whether a directory is writable or not.