Tx for you reply.
Now i made a list of what i should do to make it work
- server waits for a connection on a certain port
- client tries to connect on server
- server acceps connection from client
- (on the client is a directory selected) de name and size of every file will be send to the server
- server checkes whenever the filename + size already is in its database (that contains all file-information on the server)
- if yes? server just goes to the next file
- if no? server ask client to upload that file (which is not on the server)
- when the whole list is done .. server cloes the connection with the client.
Now i've got the following guestion: How can I get the filenames out of the directory i selected on my client? i have to "read" a filename and send this filename to the server but i don't know how to get that information out of the dir.
Hopefully someone knows a solution to this problem
Many thanks,
Elise