I just want to ask how to restrict the FILE TYPES that upload through FTP? Is there anyway to? If yes then please guide me how to do it. Thanks in advanced
All right, I have a host (of course not my computer) and I've made and share a subdomain(led to a sub directory) for someone for hosting part of my host, set up a FTP account for them to access that subdomain, familiar person so I do not restrict so much, just want to make sure they won't upload some illegal file types like exe or mp3, so I want to restrict their account won't be able to upload some file types like I explain above. My host has Cpanel and I can access WHM of the server if I want. How can I do that?
All right, I have a host (of course not my computer) and I've made and share a subdomain(led to a sub directory) for someone for hosting part of my host, set up a FTP account for them to access that subdomain, familiar person so I do not restrict so much, just want to make sure they won't upload some illegal file types like exe or mp3, so I want to restrict their account won't be able to upload some file types like I explain above. My host has Cpanel and I can access WHM of the server if I want. How can I do that?
That'll be kind of hard... as you can't set the settings of your ftp anywhere I guess.
You could make a script that checks for those restricted filetypes and deletes them, and run that script on a cron tab.
PS: I've just looked at the Cron Jobs and it says "Enter Command to run: " so what kind of command should be in there, I mean FTP commands, or SSH..., or run a script?
PS: I've just looked at the Cron Jobs and it says "Enter Command to run: " so what kind of command should be in there, I mean FTP commands, or SSH..., or run a script?