Net::SFTP::Server - Base class for writting SFTP servers


  use parent qw(Net::SFTP::Server);


This package provides a framework for implementing SFTP servers.

This is an early release without documentation. The API is very unstable yet.

Currently version 3 of the protocol as defined in is supported, thought there are provisions for supporting later versions.

For and example of usage, see the source code for the companion module Net::SFTP::Server::FS and the script sftp-server-fs-perl implementing an standard SFTP server.


Copyright (C) 2009, 2011 by Salvador Fandiño (

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.