diff --git a/tgputtylibvcclass.cpp b/tgputtylibvcclass.cpp index ba6a1ea..3ab5863 100644 --- a/tgputtylibvcclass.cpp +++ b/tgputtylibvcclass.cpp @@ -313,7 +313,7 @@ void TTGPuttySFTP::Move(const char* AFromName, const char* AToName) throw TTGPuttySFTPException(MakePSFTPErrorMsg("tgsftp_mv")); } -void TTGPuttySFTP::DeleteFile(const char* AName) +void TTGPuttySFTP::Delete_File(const char* AName) { ClearStatus(); int res = tgsftp_rm(AName, &Fcontext); diff --git a/tgputtylibvcclass.h b/tgputtylibvcclass.h index e6a12d7..ffa0c27 100644 --- a/tgputtylibvcclass.h +++ b/tgputtylibvcclass.h @@ -91,7 +91,7 @@ class TTGPuttySFTP void SetModifiedDate(const char* AFileName, const unsigned long unixtime); void SetFileSize(const char* AFileName, const __int64 ASize); void Move(const char* AFromName, const char* AToName); - void DeleteFile(const char* AName); + void Delete_File(const char *AName); void UploadFile(const char* ALocalFilename, const char* ARemoteFilename, const bool anAppend); void DownloadFile(const char* ARemoteFilename, const char* ALocalFilename, const bool anAppend);