1Net::FTPServer::DBeg1::UIsOeBrloCbo(n3t)ributed Perl DocNuemte:n:tFaTtPiSoenrver::DBeg1::IOBlob(3)
2
3
4
6 Net::FTPServer::DBeg1::IOBlob - The example DB FTP server personality
7
9 use Net::FTPServer::DBeg1::IOBlob;
10
12 $io = Net::FTPServer::DBeg1::IOBlob ('r', $dbh, $blob_id);
13 $io = Net::FTPServer::DBeg1::IOBlob ('w', $dbh, $blob_id);
14 Create an IO handle for reading or writing a PostgreSQL blob.
15
16 $io->getc ();
17 Read 1 byte from the buffer and return it
18
19 $io->read ($buffer, $nbytes, [$offset]);
20 $io->sysread ($buffer, $nbytes, [$offset]);
21 Read $nbytes from the handle and place them in $buffer at offset
22 $offset.
23
24 $io->write ($buffer, $nbytes, [$offset]);
25 $io->syswrite ($buffer, $nbytes, [$offset]);
26 Write $nbytes to the handle from $buffer offset $offset.
27
28 $io->print ($buffer);
29 $io->close;
30 Close the IO handle.
31
33 Richard Jones (rich@annexia.org).
34
36 Copyright (C) 2000 Biblio@Tech Ltd., Unit 2-3, 50 Carnwath Road,
37 London, SW6 3EG, UK
38
40 Net::FTPServer(3), perl(1)
41
42
43
44perl v5.28.0 2012-11-12 Net::FTPServer::DBeg1::IOBlob(3)