RSSAll Entries Tagged With: "FTP"

Not able to login to FTP accounts using root password

Issue :
Was able to login to all FTP accounts using the root password earlier but now it doesn’t seem to work. Where to check that?
Fix :
Go to WHM >> Main >> Service Configuration >> FTP Server Configuration.
At the bottom of the page, you’ll find an option as ‘Allow Logins with Root Password’
Make sure [...]

How to transfer a folder from one server to another

Issue :
Need to transfer a folder from a remote server to the local server.
Solution :
One way of doing this is using the ‘wget’ command.
First, log in to your server via SSH and and launch wget mirroring using the following command :
wget -m ftp://username:password@ftp.host/folder/
Do replace the above with the corresponding values.
This will mirror the [...]

How to prevent SFTP users from viewing server files and folders

Issue :
SFTP users can view server files and folders by simply changing the path to ‘/’. How can this be avoided?
Solution :
SFTP means FTP access over SSH.
You will have to chroot the individual users in order to prevent them from viewing files outside their chroot jail.
Normal FTP access has chroot isolation [...]

Cannot login to FTP:Home directory inaccessible error

Issue:
Login to domain.com via FTP fails for all users. The following error message is displayed:
Cannot log in, home directory inaccessible
Cause:

There could be several reasons:
1. This might happen if the hostname is longer than 15 characters.
2. Domain resolves to a different IP than the one which has been configured in Plesk.
3. FTP server configuration is [...]

Login failed after changing FTP credentials

Issue :
After changing the FTP credentials, the user is unable to log in to the FTP location. It just keeps asking for username/password. The domain is managed by Plesk control panel.
Solution :
Some permissions might have been screwed while changing the credentials.
To set the permissions so that the user can access the FTP location:
1 .Delete file [...]

SFTP without SSH

Issue :
How to allow SFTP but disallow shell-level access ?
Solution :
To allow SFTP access but without shell access, you must first enable (jailed) shell via WHM. But then run the following so they do not have command line/shell access:

usermod -s /usr/local/cpanel/bin/noshell username
Of course, replace “username” with the actual account user name.
Then generate a [...]

Changing number of files listed in FTP

Issue :
The FTP program lists only 1000 files in a directory. How can this be changed?
Fix :
Go to the FTP configuration file ( in this case, /etc/pure-ftpd.conf ).
Change the value in the following line :
LimitRecursion 1000 8

Disabling FTP access for a particular cPanel account

Issue:
FTP access for specific cPanel accounts needs to be disabled. There is no native way in cPanel/WHM to achieve this.
Solution :
Assuming that you are using pure-ftpd, go to /usr/sbin/pureauth . There would be a section in the code as follows :
# Create ftpusers array
if ( -e ‘/etc/ftpusers’ && !-z ‘/etc/ftpusers’ ) {
[...]

FTP Upload: Time Out Error

Usually Time Out Error occurs when we try to upload large files. We need to check following on our local system:
1. Try enabling “passive mode” in FTP client.
2. Check personal firewall/security settings, programs like Norton Anti-Virus to make sure that they are configured to allow FTP access. Try turning these programs completely off and retry [...]

Get Adobe Flash playerPlugin by wpburn.com wordpress themes