add: download d'un fichier entier (merci la récursion)

à fix: rmdir ne fonctionne pas avec un dossier non vide, à ajouter : file upload
This commit is contained in:
2023-02-19 15:03:09 +01:00
parent 0889454150
commit 0b76298c99
5 changed files with 99 additions and 60 deletions

View File

@@ -18,5 +18,4 @@ int get_object_info(char* path, struct stat* fileinfo);
int get_drives_list(char* buf);
char* get_file_list(const char* dirPath, int* numFiles);
int download_file(FILE* fp, SOCKET sock);
void download_folder();
void upload_file();