1

I have one FTP account for customers and I want they upload files, but they should not see what already uploaded by other customers.

Is that possible?

If I will disaalow directory listing that will "break" frp connection.

Bart De Vos
  • 17,761
  • 6
  • 62
  • 81
John
  • 532
  • 5
  • 14

2 Answers2

1

I've done that with Filezilla server on Windows. Give the upload directory write but no read permission and they can upload but not download (including not retrieving a directory list). The only side effect is they get an error in the FTP client when they connect and after they upload. FTP clients try to pull listings after both events.

Edit:
If you can't have error messages, you'll probably have to grab the files and move them as soon as they're uploaded. Check out inotifywait from the inotify-tools package or this article about using it to move files.

charlesbridge
  • 817
  • 5
  • 14
0

No, this is not how the FTP-Protocol works. If you don't want customers to see the files from one another, create multiple users.

Bart De Vos
  • 17,761
  • 6
  • 62
  • 81
  • yep, it is not how FTP protocal works, but it may be possible by using ftp server features (like chaging owner and chmod after uploading) – John Oct 28 '11 at 15:22