Find the answer to your Linux question:
Results 1 to 6 of 6
hi, my ftp cmd doesn't work from terminal/console (while connecting to comps outside IIT) But it works fine from mozilla(browser). Can ne 1 let me know wat actually the problem ...
  1. #1
    Just Joined!
    Join Date
    May 2005
    Location
    kanpur(India)
    Posts
    31

    problem with ftp



    hi,
    my ftp cmd doesn't work from terminal/console (while connecting to comps outside IIT)
    But it works fine from mozilla(browser).
    Can ne 1 let me know wat actually the problem is..??
    TIA
    madhuresh

  2. #2
    Linux Engineer
    Join Date
    Mar 2005
    Posts
    1,431
    Doesn't work what do you mean? Does the command not exist or do you get an error-massage? If the first, you will have to install and commandline ftp-client, and if the last one please post the error...

  3. #3
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Buenos Aires, Argentina
    Posts
    908
    The ftp command and the ftp support in Mozilla are two different things, they have nothing to do with eachother..

    You just need to install the "ftp" or "ftp-client" package. A good ftp client for the command-line is "ncftp", you may want to give it a try.
    serzsite.com.ar
    "All the drugs in this world won\'t save you from yourself"

  4. #4
    Just Joined!
    Join Date
    May 2005
    Location
    kanpur(India)
    Posts
    31
    hi,
    ftp is installed as i can access to servers inside iitk using ftp cmd from terminal..
    { $ ftp apah.cc.iitk.ac.in
    login/passwd }
    But i can't access to comps outside iit .For e.g
    when i give
    $ ftp ftp.oreilly.com
    It gives "name or service not found".This happens for ne ftp server outside iit.
    While it works fine if i use ftp:// in my browser.
    Help me out.
    TIA

  5. #5
    Linux Engineer
    Join Date
    Mar 2005
    Location
    Where my hat is
    Posts
    765
    Someone correct me if I'm wrong here, but using your browser to go to a site using "ftp" is still on port 80.

    However, using FTP as a separate application is going to use ports 20 and 21 which are most likely blocked at your firewall.
    Registered Linux user #384279
    Vector Linux SOHO 6 / Vector Linux 7 RC 3.4

  6. #6
    Linux Engineer
    Join Date
    Mar 2005
    Posts
    1,431
    Useally ftp.page.com is port 80 yes, but sometimes it's port 21.

    ... I might be wrong but I beleve it was like that.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •