mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-26 13:06:13 +01:00
Added sfFtp_sendCommand
This commit is contained in:
1 parent
ee9b927dec
commit
9bf4197e0a
2 files changed
+29
No files matched your search
@@ -307,3 +307,12 @@ sfFtpResponse* sfFtp_upload(sfFtp* ftp, const char* localFile, const char* destP
|
||||
destPath ? destPath : "",
|
||||
static_cast<sf::Ftp::TransferMode>(mode)));
|
||||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
sfFtpResponse* sfFtp_sendCommand(sfFtp* ftp, const char* command, const char* parameter)
|
||||
{
|
||||
CSFML_CHECK_RETURN(ftp, NULL);
|
||||
|
||||
return new sfFtpResponse(ftp->This.sendCommand(command ? command : "", parameter ? parameter : ""));
|
||||
}
|
||||
Reference in new issue
Block a user