WinInet принципиально или же можно поменять на YNDY?
Procedure Scan(aPath:String); * var hFind:THandle; *begin * *hFind:= FtpFindFirstFile(FtpHandle, PChar(aPath+’/*.*’), Finfile, FTP_TRANSFER_TYPE_BINARY, 255);
I have several xml files inside a directory, but I can only send file by file. I would like to send all the files that are inside that directory. How can I do this?

1 Answer 1
Indy does not implement any kind of multiple put method at this time (the FTP protocol itself does not have such feature). You will have to list all the files in a given directory and call Put for each file separately. For example:
Я разрабатываю FTP-клиент RAD Studio ( IdFTP ). Как я могу загрузить каталог с сервера? Delphi или C++. Благодарю.
-
87 2
- 28 июн 2019 2019-06-28 14:05:27
- Pavel Rabinovych
2 ответа
Необходимо добавить условие:
чтобы избежать «..» в качестве имени каталога