• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 213
  • Last Modified:

Problem in FTP Connection with localhost

Hey experts,

I am doing an FTP connection (on my PC) with localhost, and I am logging in with the regular username & password, but then I am getting to the root directory with no files there......(ls is being successfull, but it's returning nothing)...I need some files to do some tests on them....I've done FTP previously from a lab PC to another lab PC, and there were the regular files that are on the other PC, but now there aren't......any help??
0
mte01
Asked:
mte01
  • 3
  • 3
1 Solution
 
leochan72Commented:
Maybe firewall is on. Just guessing.

Leo
0
 
mte01Author Commented:
I turned firewall off......and the problem remained....
0
 
DonConsolioCommented:
FTP server configured "chroot" ?
0
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 
mte01Author Commented:
Now I discovered that the problem is that the FTP server that I was actually connecting to is Microsoft's...(because I was using cygwin on Windows)....& I can't change its priviliges due to security issues, so now I'll be using a regular Linux OS, and so now there is a new version of the question:

New Version of Question:

I am using vsftpd (as a server on the localhost), and I want to run it.....but the only way to do that is to use xinetd....but I can't seem to know how to actually run it....any help??
0
 
DonConsolioCommented:
edit /etc/xinetd.conf

add:


service ftp
{
        socket_type             = stream
        protocol                = tcp
        wait                    = no
        user                    = root
        server                  = /usr/sbin/vsftpd
        disable                 = no
}

0
 
mte01Author Commented:
It worked....amazing......thx DonConsolio!!
0
 
DonConsolioCommented:
pleasure to help
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now