Solved

FTP

Posted on 1998-11-30
2
228 Views
Last Modified: 2010-04-20
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
Comment
Question by:Theophilus
2 Comments
 
LVL 4

Accepted Solution

by:
davidmwilliams earned 20 total points
ID: 1638652
 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
 
LVL 1

Author Comment

by:Theophilus
ID: 1638653
Thank you. I found it.
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now