I provide a public FTP account for people to upload files into a temporary folder. An AJAX interface shows fresh files, then users can tag and move the file into a different folder.
I would like to show every user just the files they uploaded themselves, not all the other ones that might be uploaded at the same time by other people. Individual FTP accounts are no option.
Is there a way to connect the logged-in user and the FTP-upload by IP address? Can I find out the uploader IP for any given file using PHP?