Solved

FTP

Posted on 1998-11-30
2
227 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
Comment Utility
 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
Comment Utility
Thank you. I found it.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

After running Ubuntu some time, you will be asked to download updates for fixing bugs and security updates. All the packages you download replace the previous ones, except for the kernel, also called "linux-image". This is due to the fact that w…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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.

771 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

14 Experts available now in Live!

Get 1:1 Help Now