Net::FTPServer::DBeg1::IOBlob(3pm)

Net::FTPServer::DBeg1::IOBlob3pm

The example db ftp server personality

Usage

  use Net::FTPServer::DBeg1::IOBlob;

Overview

Methods

$io = Net::FTPServer::DBeg1::IOBlob ('r', $dbh, $blob_id);
$io = Net::FTPServer::DBeg1::IOBlob ('w', $dbh, $blob_id);

Create an IO handle for reading or writing a PostgreSQL blob.

$io->getc ();

Read 1 byte from the buffer and return it

$io->read ($buffer, $nbytes, [$offset]);
$io->sysread ($buffer, $nbytes, [$offset]);

Read $nbytes from the handle and place them in $buffer at offset $offset.

$io->write ($buffer, $nbytes, [$offset]);
$io->syswrite ($buffer, $nbytes, [$offset]);

Write $nbytes to the handle from $buffer offset $offset.

$io->print ($buffer);
$io->close;

Close the IO handle.

Releases

2 releases since Debian 3.0 (Woody); the text changed 1 time.

  1. 3.0
  2. 3.1

Authors

Richard Jones ([email protected]).

From libnet-ftpserver-perl 1.120-1 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.