Method: Net::SFTP::Protocol::V03::Base#readlink
- Defined in:
- lib/net/sftp/protocol/03/base.rb
#readlink(path) ⇒ Object
Sends a FXP_READLINK packet to the server to request that the target of the given symlink on the remote host (path) be returned.
23 24 25 |
# File 'lib/net/sftp/protocol/03/base.rb', line 23 def readlink(path) send_request(FXP_READLINK, :string, path) end |