Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

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.)
0
Theophilus
Asked:
Theophilus
1 Solution
 
davidmwilliamsCommented:
 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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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