sftp_rename

@brief Rename or move a file or directory.

@param sftp The sftp session handle.

@param original The original url (source url) of file or directory to be moved.

@param newname The new url (destination url) of the file or directory after the move.

@return 0 on success, < 0 on error with ssh and sftp error set.

@see sftp_get_error()

extern (C)
int
sftp_rename
(,
const char* original
,
const char* newname
)

Meta