Implements the rename operation.
Methods
Public Instance methods
Perform the operation. The flags parameter is ignored under earlier versions of the SFTP protocol (3 and under).
[ show source ]
# File lib/net/sftp/operations/rename.rb, line 26
26: def perform( filename, new_name, flags=0 )
27: @driver.rename( nil, filename, new_name, flags )
28: end