Lift unsafe operation that does blocking IO into a pure value.
Lift unsafe operation that does blocking IO into a pure value. If the operation failed an error will be emitted
return value
unsafe function to lift
List of files / directories.
List of files / directories. If the operation failed, an error will be emitted
absolute path of the directory
List of files from a base directory recursively.
List of files from a base directory recursively. If the operation failed, an error will be emitted
absolute path of the directory
Create a directory.
Create a directory. If the operation failed, an error will be emitted
absolute path of the directory
Read a file by using stream.
Read a file by using stream. If the operation failed, an error will be emitted
absolute path of a file
default chunk size is 2048 bytes
Delete a file on a server.
Delete a file on a server. If the operation failed, an error will be emitted
absolute path of the file
Delete a directory.
Delete a directory. If the operation failed, an error will be emitted
absolute path of the directory
Check existence of a file.
Check existence of a file. If the file doesn't exist, the operation will succeed by returning an empty ftp resource If the operation failed an error will be emitted
absolute path of the file
Save a data stream.
Save a data stream. If the operation failed, an error will be emitted
environment of the specified stream source, required to extend Blocking
absolute path of file to store
data stream to store