Method: XFTP::Session::FTP#chdir

Defined in:
lib/xftp/session/ftp.rb

#chdir(path) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Changes the current (remote) working directory

Parameters:

  • path (String)

    the relative (remote) path



28
29
30
31
# File 'lib/xftp/session/ftp.rb', line 28

def chdir(path)
  ensure_relative_path! :chdir, path
  @ftp.chdir path
end