mirror of
https://github.com/kingk85/uFTP.git
synced 2025-07-18 01:36:10 +03:00
FEAT updated
This commit is contained in:
5
Makefile
5
Makefile
@ -30,9 +30,8 @@ ENABLE_LARGE_FILE_SUPPORT=-D LARGE_FILE_SUPPORT_ENABLED -D _LARGEFILE64_SOURCE
|
|||||||
|
|
||||||
ENABLE_OPENSSL_SUPPORT=
|
ENABLE_OPENSSL_SUPPORT=
|
||||||
#TO ENABLE OPENSSL SUPPORT UNCOMMENT NEXT 2 LINES
|
#TO ENABLE OPENSSL SUPPORT UNCOMMENT NEXT 2 LINES
|
||||||
ENABLE_OPENSSL_SUPPORT=-D OPENSSL_ENABLED
|
#ENABLE_OPENSSL_SUPPORT=-D OPENSSL_ENABLED
|
||||||
LIBS=-lpthread -lssl -lcrypto
|
#LIBS=-lpthread -lssl -lcrypto
|
||||||
|
|
||||||
|
|
||||||
ENABLE_IPV6_SUPPORT=
|
ENABLE_IPV6_SUPPORT=
|
||||||
#TO ENABLE IPV6 support uncomment next line
|
#TO ENABLE IPV6 support uncomment next line
|
||||||
|
@ -394,10 +394,10 @@ int parseCommandFeat(ftpDataType *data, int socketId)
|
|||||||
|
|
||||||
int returnCode;
|
int returnCode;
|
||||||
#ifdef OPENSSL_ENABLED
|
#ifdef OPENSSL_ENABLED
|
||||||
returnCode = socketPrintf(data, socketId, "s", "211-Extensions supported:\r\nPASV\r\nEPSV\r\nUTF8\r\nAUTH TLS\r\nPBSZ\r\nPROT\r\nSIZE\r\nMDTM\r\nREST\r\n211 End.\r\n");
|
returnCode = socketPrintf(data, socketId, "s", "211-Extensions supported:\r\nPASV\r\nEPSV\r\nEPRT\r\nUTF8\r\nAUTH TLS\r\nPBSZ\r\nPROT\r\nSIZE\r\nMDTM\r\nREST\r\n211 End.\r\n");
|
||||||
#endif
|
#endif
|
||||||
#ifndef OPENSSL_ENABLED
|
#ifndef OPENSSL_ENABLED
|
||||||
returnCode = socketPrintf(data, socketId, "s", "211-Extensions supported:\r\nPASV\r\nEPSV\r\nUTF8\r\nSIZE\r\nMDTM\r\nREST\r\n211 End.\r\n");
|
returnCode = socketPrintf(data, socketId, "s", "211-Extensions supported:\r\nPASV\r\nEPSV\r\nEPRT\r\nUTF8\r\nSIZE\r\nMDTM\r\nREST\r\n211 End.\r\n");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (returnCode <= 0)
|
if (returnCode <= 0)
|
||||||
|
Reference in New Issue
Block a user