Skip to content

Commit b108c46

Browse files
committed
ftp: Fix Rename command
1 parent effffa7 commit b108c46

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/ftpConnection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ void ftpConnection::cmdRnto(std::string const& arg) {
395395
fileName = pwd + arg;
396396
}
397397
#ifdef NXDK
398-
if (MoveFileA(rnfr.c_str(), fileName.c_str())) {
398+
if (MoveFileA(unixToDosPath(rnfr).c_str(), unixToDosPath(fileName).c_str())) {
399399
sendStdString(replies[12]);
400400
} else {
401401
sendStdString(replies[13]);

0 commit comments

Comments
 (0)