[FTP3.05] How do I disable upload FTP upload (only) for a site?

Before you do this, you should make absolutely sure that this is what you want to do. If you just want to disable the site, then you should just use the option in the Reseller Control Centre to do so.

First, make sure you have SSH access for the site.

Then, ssh in as the site and make sure you're logged in as the right user.

Then you can type:
cat > .ftpaccess
<Limit WRITE>

...and then hit Ctrl-D to finish writing the file; the effect should be immediate. To re-enable FTP write access, you just need to SSH in and do:

Was this answer helpful?

 Print this Article

Also Read

[FTP4.03] How do I setup additional FTP accounts?

Additional FTP accounts are most commonly used to give others access to an account for the...

[FTP4.04] Can I use the File eXchange Protocol (FXP) for site-to-site transfers?

We do not allow the use of the File eXchange Protocol (FXP) in the interests of security because...

[FTP3.04] How do I publish my site with Adobe GoLive?

When you're ready to publish your site, just connect to the FTP server by clicking the FTP Server...

[FTP1.02] Gumblar or Troj/JSRedir-R FTP Virus

Known as Gumblar by ScanSafe and Troj/JSRedir-R by Sophos, this computer virus first...

[FTP2.02] Why can't I upload large files with FTP?

There are several possible reasons why your images are not showing up on your pages as expected:...