GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::FTPServer::DBeg1::IOBlob(3) User Contributed Perl Documentation Net::FTPServer::DBeg1::IOBlob(3)

Net::FTPServer::DBeg1::IOBlob - The example DB FTP server personality

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

$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.

Richard Jones (rich@annexia.org).

Copyright (C) 2000 Biblio@Tech Ltd., Unit 2-3, 50 Carnwath Road, London, SW6 3EG, UK

Net::FTPServer(3), perl(1)
2012-11-12 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.