mirror of
https://github.com/kingk85/uFTP.git
synced 2025-07-14 15:56:16 +03:00
merged with new branch TLS
This commit is contained in:
@ -1137,11 +1137,7 @@ int parseCommandRnto(ftpDataType * data, int socketId)
|
|||||||
if (FILE_IsFile(data->clients[socketId].renameFromFile.text) == 1 ||
|
if (FILE_IsFile(data->clients[socketId].renameFromFile.text) == 1 ||
|
||||||
FILE_IsDirectory(data->clients[socketId].renameFromFile.text) == 1)
|
FILE_IsDirectory(data->clients[socketId].renameFromFile.text) == 1)
|
||||||
{
|
{
|
||||||
<<<<<<< HEAD
|
|
||||||
returnCode = rename (theClientData->renameFromFile.text, theClientData->renameToFile.text);
|
|
||||||
=======
|
|
||||||
returnCode = rename (data->clients[socketId].renameFromFile.text, data->clients[socketId].renameToFile.text);
|
returnCode = rename (data->clients[socketId].renameFromFile.text, data->clients[socketId].renameToFile.text);
|
||||||
>>>>>>> TLS
|
|
||||||
if (returnCode == 0)
|
if (returnCode == 0)
|
||||||
{
|
{
|
||||||
returnCode = socketPrintf(data, socketId, "s", "250 File successfully renamed or moved\r\n");
|
returnCode = socketPrintf(data, socketId, "s", "250 File successfully renamed or moved\r\n");
|
||||||
|
@ -60,6 +60,7 @@ void cleanupOpenssl()
|
|||||||
{
|
{
|
||||||
thread_cleanup();
|
thread_cleanup();
|
||||||
EVP_cleanup();
|
EVP_cleanup();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
SSL_CTX *createServerContext()
|
SSL_CTX *createServerContext()
|
||||||
|
Reference in New Issue
Block a user