RemoveDirectory

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
bauerh
Posts: 11
Joined: Thu 04 Aug 2016 09:25

RemoveDirectory

Post by bauerh » Tue 16 Aug 2016 13:01

I call the RemoveDirectory method and get a mistake:

[ILINK32 Fehler] Error: Nicht auflösbares externes '__fastcall Scsftpclient::TScSFTPClient::RemoveDirectoryW(const System::UnicodeString)' referenziert von P:\HOME \DEBUG\WIN32\MAIN.OBJ

why RemoveDirectoryW ??

regards
Horst

if (ListBox1->Items->Count >0)
{
for (I = 0; I <= (ListBox1->Items->Count - 1); I++)
{
ScSFTPClient1->RemoveDirectory(FtpPfad+AnsiString("/")+ListBox1->Items->Strings);
}
} //ENDE if (ListBox1->Items->Count >0)

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: RemoveDirectory

Post by ViktorV » Tue 16 Aug 2016 14:15

To solve the issue, please try to add the following code in TScSFTPClient.hpp:

Code: Select all

#undef RemoveDirectory 
before the code line:

Code: Select all

void __fastcall RemoveFile(const System::UnicodeString FileName);

bauerh
Posts: 11
Joined: Thu 04 Aug 2016 09:25

Re: RemoveDirectory

Post by bauerh » Wed 17 Aug 2016 08:35

Thanks for your help!
Horst

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: RemoveDirectory

Post by ViktorV » Wed 17 Aug 2016 08:44

Feel free to contact us if you have any further questions about SecureBridge.

Post Reply