Find the answer to your Linux question:
Results 1 to 3 of 3
I recently setup vsftpd on my SLES10-SP3 server. I am able to log in from a remote machine via my FTP client as anonymous user with no trouble. But I ...
  1. #1
    Linux Newbie
    Join Date
    Feb 2007
    Location
    USA
    Posts
    221

    FTP Files Into /srv/www/htdocs

    I recently setup vsftpd on my SLES10-SP3 server. I am able to log in from a remote machine via my FTP client as anonymous user with no trouble. But I notice the directory that is visible in my ftp client is "/srv/ftp". When I log in as a user (i.e. mike) all I see is the home directory for "mike." I am using FireFTP.

    I would like to upload files from my remote machine to "/srv/www/htdocs."

    What do I need to do so that I can see the files in "/srv/www/htdocs" instead of "/srv/ftp" via FireFTP?

    Thanks.

    -Mike
    Suse Linux Enterprise Server 11
    Suse Linux Enterprise Server 10 - SP3
    OpenSuse 11.2, KDE 4.3.1

  2. #2
    Linux Newbie
    Join Date
    Feb 2007
    Location
    USA
    Posts
    221
    I tried changing the home directory of my user account (i.e. mike) to "/srv/www/htdocs" and now I am able to ftp into the web directory but now I am having issues with getting the directories in my web root to list. I am not sure what permissions I have out of sync that is preventing me from getting to the directories in "/srv/www/htdocs."
    Suse Linux Enterprise Server 11
    Suse Linux Enterprise Server 10 - SP3
    OpenSuse 11.2, KDE 4.3.1

  3. #3
    Linux Newbie
    Join Date
    Feb 2007
    Location
    USA
    Posts
    221
    Solved.

    I ended up creating a user account for the name of my website (i.e. mike_web) and setting the home folder to "/srv/www/htdocs/mike_web". I also turned off passive (PASV) mode for data transfers in my client, which is Coda.
    Suse Linux Enterprise Server 11
    Suse Linux Enterprise Server 10 - SP3
    OpenSuse 11.2, KDE 4.3.1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...