Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Red Hat


Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 03-01-2013
Registered User
 
Join Date: Jun 2011
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
FTP issue

Hi everybody,

I would like to findout a directory or a file which is located at ftp server by connecting with ftp <ip> by using any other linux utility. I tried with find and locate commands in this manner but didnt work. Please help me.

Regards,
Mastan
Sponsored Links
    #2  
Old 03-01-2013
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
 
Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 3,379
Thanks: 29
Thanked 477 Times in 373 Posts
ftp is not a shell, so you can't expect all the UNIX commands to work. In fact "ftp" is a client program (and a very basic one, at that). Inside "ftp" you can only use "ls" to list a single directory. Many ftp-servers therefore have the output of "ls -lR" (a recursive drectory listing) in a file near the top of their tree. Download this file and search in it for what you are interested in.

I hope this helps.

bakunin
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
FTP Issue swathich UNIX for Dummies Questions & Answers 2 05-12-2011 06:25 PM
Issue with ftp tarakant Shell Programming and Scripting 3 09-14-2010 01:29 PM
Ftp issue please help. Haque123 Solaris 9 03-25-2009 12:51 AM
ftp issue ravi raj kumar Shell Programming and Scripting 5 02-06-2008 07:24 AM
FTP Issue, Help please moe2266 UNIX for Dummies Questions & Answers 0 01-17-2006 09:54 AM



All times are GMT -4. The time now is 03:18 PM.