Method: Net::SFTP::Protocol::V01::Base#realpath
- Defined in:
- lib/net/sftp/protocol/01/base.rb
#realpath(path) ⇒ Object
Sends a FXP_REALPATH packet to the server, to request that the given path be canonicalized, taking into account path segments like “..”.
180 181 182 |
# File 'lib/net/sftp/protocol/01/base.rb', line 180 def realpath(path) send_request(FXP_REALPATH, :string, path) end |