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
13 $io = Net::FTPServer::DBeg1::IOBlob ('r', $dbh, $blob_id);
14 $io = Net::FTPServer::DBeg1::IOBlob ('w', $dbh, $blob_id);
15 Create an IO handle for reading or writing a PostgreSQL blob.
16
17 $io->getc ();
18 Read 1 byte from the buffer and return it
19
20 $io->read ($buffer, $nbytes, [$offset]);
21 $io->sysread ($buffer, $nbytes, [$offset]);
22 Read $nbytes from the handle and place them in $buffer at offset
23 $offset.
24
25 $io->write ($buffer, $nbytes, [$offset]);
26 $io->syswrite ($buffer, $nbytes, [$offset]);
27 Write $nbytes to the handle from $buffer offset $offset.
28
29 $io->print ($buffer);
30 $io->close;
31 Close the IO handle.
32
34 Richard Jones (rich@annexia.org).
35
37 Copyright (C) 2000 Biblio@Tech Ltd., Unit 2-3, 50 Carnwath Road,
38 London, SW6 3EG, UK
39
41 Net::FTPServer(3), perl(1)
42
44 Hey! The above document had some coding errors, which are explained
45 below:
46
47 Around line 215:
48 =back doesn't take any parameters, but you said =back 4
49
50
51
52perl v5.12.0 2003-09-28 Net::FTPServer::DBeg1::IOBlob(3)