FTP

When I FTP to a Linux server, where in the directory structure am I by default. (I'm trying to figure out where to put directories.)
LVL 1
TheophilusAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
davidmwilliamsConnect With a Mentor Commented:
 It depends on whether you ftp as a defined user, or using anonymous ftp.
  If you ftp in as a user, then you are in that user's specified home directory.  Use the finger command to get more information
(for example, if the computer is host.com and the user is fred, type finger fred@host.com and you should see their home directory listed).  Alternatively, type 'pwd' after ftp'ing in.
  If you login as an anonymous user, you will be in a directory specified in the ftp server config file.  Some machines may define an 'ftp' user, so try doing a finger on this user.
  If you have interactive access (i.e. login) to the computer, try looking for an 'ftp' directory somewhere (maybe /usr/local/ftp, etc.).  You could probably find it with this command

  cd / ; find . -name ftp -print
0
 
TheophilusAuthor Commented:
Thank you. I found it.
0
All Courses

From novice to tech pro — start learning today.