![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Jun 2005
Posts: 1
Rep Power: 0
![]() |
c & linux
am working on a C code,
i have client and server client sends "list <foldername>" server needs to copy the files in the folder to a string. so that i can send that string back to the client. i heard there is a function to handle this, do you know? thanks |
|
|
|
|
|
#2 |
|
Programmer
Join Date: Jun 2005
Posts: 86
Rep Power: 4
![]() |
This is OS dependant. Look into opendir(), readdir() and closedir(), if on *nix. Look into FindFirstFile(), FindNextFile() and FindClose(), if on Windows.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|