Your ftp user needs to have a home directory.
Try creating your user this way instead:
sudo useradd -d /home/ftpusername -m ftpusername
sudo passwd ftpusername
Ps. If you need to delete your existing user, use:
sudo userdel ftpusername
Programming solutions, source code, solutions to tech problems and other tech related stuff.
Showing posts with label ftp. Show all posts
Showing posts with label ftp. Show all posts
Thursday, July 12, 2012
Sunday, November 20, 2011
Upload with CyberDuck causing Internal Server Error
I was getting the following error when trying to add a new file to my server with CyberDuck
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@blahblahblahblah.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."
When I took a closer look at my logs, I saw the error:
Blah blah blah is writeable by group
So then I realised the way to resolve this is:
In CyberDuck:
1. Right click on your file. Find the menu item 'info.' Click on it.
2. Change your file's permissions to 644.
Done
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@blahblahblahblah.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."
When I took a closer look at my logs, I saw the error:
Blah blah blah is writeable by group
So then I realised the way to resolve this is:
In CyberDuck:
1. Right click on your file. Find the menu item 'info.' Click on it.
2. Change your file's permissions to 644.
Done
Monday, May 03, 2010
Connecting to SCP with Filezilla
Use "sftp://" as a prefix to your 'host'
For example:
To connect to 'myserver.com' use 'sftp://myserver.com'
I generally use this approach in Ubuntu/Linux
For example:
To connect to 'myserver.com' use 'sftp://myserver.com'
I generally use this approach in Ubuntu/Linux
Monday, May 26, 2008
Sending Files Via Putty
Firstly pscp is needed. It can be grabbed here: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Then.. for quick reference (from the command prompt):
pscp file.txt username@hostname:/directory/subdirectory/etc/file.txt
Then.. for quick reference (from the command prompt):
pscp file.txt username@hostname:/directory/subdirectory/etc/file.txt
Subscribe to:
Posts (Atom)