PureFTP & "ls" command

Ask a Question related to Mac Networking, Design and Development.

  1. #1

    Default PureFTP & "ls" command

    I'm trying to run PureFTP on a iMac taking an IP address wirelessly
    from a SMC Barricade router that is fed by DSL. The router has a fixed
    IP.

    I can log-in fine with the command line to navigate through
    directories, but the moment I issue an ls command the connection hangs.
    If I try to use a GUI client, like Interarchie, no luck:

    220---------- Welcome to Pure-FTPd [TLS] ----------
    220-You are user number 1 of 50 allowed.
    220-Local time is now 21:06. Server port: 21.
    220-IPv6 connections are also welcome on this server.
    220 You will be disconnected after 15 minutes of inactivity.
    USER Administrator
    331 User Administrator OK. Password required
    PASS *****
    230 OK. Current directory is /Users/administrator
    PWD
    MACB E
    500 Unknown command
    TYPE A
    200 TYPE is now ASCII
    PASV
    227 Entering Passive Mode (192,168,123,140,28,35)
    LIST

    At that point it times out getting the listing.

    If I try a dir command or put, this is the error message generated:

    500 I won't open a connection to 192.168.2.105 (only to 12.xxx.xxx.xxx)

    12.xxx is the IP address assigned to the outgoing router.

    As you can see, I'm coming from another router (192.162.xxx) and
    imagine all this NAT and port forwarding is too much for the server.
    (The server's router has ports 20,21 sent to the specific iMac's ip,
    but I don't know if I have all the outgoing ports set up correctly or
    need to do so?)

    I'll keep stumbling along here, but in the meantime, I appreciate any
    suggestions.

    Many thanks!
    Evil Henchman Guest

  2. Similar Questions and Discussions

    1. "select into outfile" command with field names as the first lineof the file
      Hi all ;) The question is in the subject. I had a look in the export_option but nothing appeared. I don't want to use a sophisticated tool to do...
    2. What is the difference between command "PS" and "PS -aux"
      Hi, I am new to Unix. I hope this is the right group for me to learn about it. Question: when I run PS command, I only have a few current process....
    3. "Weld" command in "Corel Draw"
      Hi there: I'm new to Illustrator but have used Corel Draw in the past. In Corel Draw there was a "Weld" command. What this did was create a drawing...
    4. copying value of DDL in a Datagrid "pre-edit command" to value in "post edit command"
      Hi all! I have Datagrid. Within that datagrid I have a drop down list that I set up some values in (a "collection") I set up an edit command...
    5. Newb Questions #2: Environment Variables for CLI? (I get "command not found" errors )
      Hello Caught Napping wrote: That's probably because the command is called "rm". If you want to use "remove", you have to define an alias....
  3. #2

    Default Re: PureFTP & "ls" command

    Evil Henchman <see_no_spam@hear.no.spam.inv> wrote:
    > I'm trying to run PureFTP on a iMac taking an IP address wirelessly
    > from a SMC Barricade router that is fed by DSL. The router has a fixed
    > IP.
    > I can log-in fine with the command line to navigate through
    > directories, but the moment I issue an ls command the connection hangs.
    > If I try to use a GUI client, like Interarchie, no luck:
    To me, that immediately spells a problem with the data connection. ftp
    works by establishing two connections - regular ftp protocol on port 21
    and ftp data on port 20. The data connection is only established when
    needed - when downloading or uploading a file, or when retrieving a
    directory listing.

    Sounds like you might need to read up on active vs passive ftp
    connections. You'll probably need to turn on passive ftp so the data
    connection can be established through your various network interfaces.

    --
    *--------------------------------------------------------*
    | ^Nothing is foolproof to a sufficiently talented fool^ |
    | Heath Raftery, HRSoftWorks _\|/_ |
    *______________________________________m_('.')_m__ _______*
    Heath Raftery Guest

  4. #3

    Default Re: PureFTP & "ls" command

    Thanks for your help. Turns out I had not opened enough ports on the
    server's router -- missed 20 and some higher ranges for the PASV
    connections. Once done, that solved the problem -- for now.

    Heath Raftery <hraftery@myrealbox.com> wrote in message news:<bke1fe$phj$2@seagoon.newcastle.edu.au>...
    > Evil Henchman <see_no_spam@hear.no.spam.inv> wrote:
    > > I'm trying to run PureFTP on a iMac taking an IP address wirelessly
    > > from a SMC Barricade router that is fed by DSL. The router has a fixed
    > > IP.
    >
    > > I can log-in fine with the command line to navigate through
    > > directories, but the moment I issue an ls command the connection hangs.
    > > If I try to use a GUI client, like Interarchie, no luck:
    >
    > To me, that immediately spells a problem with the data connection. ftp
    > works by establishing two connections - regular ftp protocol on port 21
    > and ftp data on port 20. The data connection is only established when
    > needed - when downloading or uploading a file, or when retrieving a
    > directory listing.
    >
    > Sounds like you might need to read up on active vs passive ftp
    > connections. You'll probably need to turn on passive ftp so the data
    > connection can be established through your various network interfaces.
    GoogleBoy Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139