0

Hi guys! Have a trouble with creating app to FIND FILE ON LOCALHOST ! How to do that!

I want to create an app to find file on localhost using c++,I do not know where to start ,spend a day googling but found nothing.The only I came up with is instaled xampp server ,created a file with php code,and server worked properly, but it is does not bind,the aim is to search a file by name on localhost ,start from root directory,then use threads for searching in sub-directory and at the end show all path to that file,I suppose I am on a wrong way with xampp server, do not know what to do,how to implement it, who has a expirience with that or get me what I do mean ,please help with that guys

22nd Feb 2022, 9:10 PM
Aleks kryzhanivskyi
Aleks kryzhanivskyi - avatar
6 odpowiedzi
+ 3
Do you want to read the file like a normal file on your drive or do you want to get the content of the file with the server using a request?
22nd Feb 2022, 10:44 PM
Julian Bents
Julian Bents - avatar
+ 2
For basic filestreams check out the docs https://www.cplusplus.com/doc/tutorial/files/
23rd Feb 2022, 8:04 AM
Julian Bents
Julian Bents - avatar
+ 1
thanks for help guys! yesterday i come across on boost filestreams, i suppose it is also can help
23rd Feb 2022, 8:11 AM
Aleks kryzhanivskyi
Aleks kryzhanivskyi - avatar
0
I just need to find file by name in my directory, and program have to show the path to that fille, in which folders it contains like( D:/Program/properious/myfile)
23rd Feb 2022, 7:57 AM
Aleks kryzhanivskyi
Aleks kryzhanivskyi - avatar