PDA

View Full Version : vsftpd server on FC2


Nunners
4th June 2004, 10:01 PM
I've installed FC2 successfully, and logged in etc etc

I'm now trying to transfer files from an old box, to this one, and the only way I can do this, realistically, is via FTP....

However, I can't seem to connect to the FTP port on the server. It comes up with "An Unknown Error Number". Does this mean I haven't started the service?

Can anyone give me some suggestions?

Thanks
Nunners

Jman
5th June 2004, 05:11 AM
Either the service is not running or the ftp port is not open.

Do this as root:
Start vsftpd: service vsftpd start
Or you can run Main Menu > System Settings > Server Settings > Services and check vsftpd.

Main Menu > System Settings > Security Level. Check FTP box.

jeru
5th June 2004, 07:10 AM

Why is FTP the only way?

Have you tried secure copy? I think it's what most people do.

scp -r user@host:/home/* /home

Would copy all of the home directories from the remote machine to the local machine's home directory

blammo
5th June 2004, 07:59 AM
scp requires that ssh be running on the remote machine. It that's the case, then you can just use sftp to copy the files. Another way is to use smbclient. Check if vsftpd can connect to other hosts okay. If so, then there's a problem with the ftp daemon on the machine you want to transfer files from.

jeru
5th June 2004, 08:07 AM
Originally posted by blammo
scp requires that ssh be running on the remote machine. It that's the case, then you can just use sftp to copy the files. Another way is to use smbclient.

Which with fedora, is a default configuration. Also you can't mget recursivly with standard sftp, only if your using ssh.com's or some other commercial ssh. (or some gui type deal such as gFTP, just not from the command line)