Skip to content
This repository was archived by the owner on Jan 29, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/FTPClient_Generic.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,12 @@ class FTPClient_Generic
void CloseConnection();
bool isConnected();
void NewFile (const char* fileName);
void AppendFile( char* fileName);
void AppendFile(const char* fileName);
void WriteData (unsigned char * data, int dataLength);
void CloseFile ();
void GetFTPAnswer (char* result = NULL, int offsetStart = 0);
void GetLastModifiedTime(const char* fileName, char* result);
void RenameFile(char* from, char* to);
void RenameFile(const char* from, const char* to);
void Write(const char * str);
void InitFile(const char* type);
void ChangeWorkDir(const char * dir);
Expand Down
4 changes: 2 additions & 2 deletions src/FTPClient_Generic_Impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ void FTPClient_Generic::OpenConnection()

/////////////////////////////////////////////

void FTPClient_Generic::RenameFile(char* from, char* to)
void FTPClient_Generic::RenameFile(const char* from, const char* to)
{
FTP_LOGINFO("Send RNFR");

Expand Down Expand Up @@ -424,7 +424,7 @@ void FTPClient_Generic::InitFile(const char* type)

/////////////////////////////////////////////

void FTPClient_Generic::AppendFile (char* fileName)
void FTPClient_Generic::AppendFile (const char* fileName)
{
FTP_LOGINFO("Send APPE");

Expand Down