diff --git a/paramiko/sftp_si.py b/paramiko/sftp_si.py index a65073b..3a7e10d 100644 --- a/paramiko/sftp_si.py +++ b/paramiko/sftp_si.py @@ -275,17 +275,17 @@ class SFTPServerInterface (object): """ return SFTP_OP_UNSUPPORTED - def symlink(self, path, target_path): + def symlink(self, target_path, path): """ Create a symbolic link on the server, as new pathname C{path}, with C{target_path} as the target of the link. - @param path: path (relative or absolute) of the symbolic link to - create. - @type path: str @param target_path: path (relative or absolute) of the target for this new symbolic link. @type target_path: str + @param path: path (relative or absolute) of the symbolic link to + create. + @type path: str @return: an error code like C{SFTP_OK}. @rtype: int """