Hey all,
Currently I've got a c++ application that I've written that allows a remote client to request and receive a file from a workstation in our office via winsocket2.
However, when requesting the file the client must type the path exactly, ie: "C:\Filename.txt".
I want to make this much easier, something like an FTP site, y'know.
The only way I can think to make it easier is to :
1. Have the client program request a list of files in the c:\ on the server computer and display that to the user.
2. Then have the user select a folder if necessary inside that c:\ and
3. Have the client program request a list of files in the C:\WHATEVER from the server and display it to the user, Then....etc.
But that seems way to clumsy...does anyone know a better way.
Thanks.
Currently I've got a c++ application that I've written that allows a remote client to request and receive a file from a workstation in our office via winsocket2.
However, when requesting the file the client must type the path exactly, ie: "C:\Filename.txt".
I want to make this much easier, something like an FTP site, y'know.
The only way I can think to make it easier is to :
1. Have the client program request a list of files in the c:\ on the server computer and display that to the user.
2. Then have the user select a folder if necessary inside that c:\ and
3. Have the client program request a list of files in the C:\WHATEVER from the server and display it to the user, Then....etc.
But that seems way to clumsy...does anyone know a better way.
Thanks.