Your best friend for file transfer.

Fetch application logoFetch

can't get directory list (11 posts)

  • Started 8 years ago by WHITE
  • Latest reply 8 years ago from Scott McGuire
  • WHITE Member

    hi.

    i login okay.

    but i can't get a ftp server's directory list. i need advice? i am using passive mode.

    here is the end of my transcript where my program just quits. is it likely my config or something on server's end?

    200 PORT Command successful.
    LIST -al
    150 Opening ASCII mode data connection for /bin/ls.
    Active mode connection blocked by OS X firewall, port 49203
    ABOR
    426 Transfer aborted.
    226 ABOR command successful.
    ftp_list: -30027 (state == GETTING_LIST)

    Posted 8 years ago #

  • Scott McGuire Administrator

    Hi,

    It looks like you are connecting to your server in active FTP mode, and you have your Mac OS X firewall enabled. Active FTP mode connections do not work properly when you have a firewall enabled. Instead, you should try to use a passive mode connection.

    To make sure that you have passive mode enabled in Fetch by doing the following:

    * Go to the "Fetch" menu and choose "Preferences."
    * Click on the "General" tab.
    * Make sure the "Use passive mode transfers (PASV)" checkbox is checked.

    If it was not checked, check it and try connecting again.

    If it was checked, it is possible your server does not support passive mode connections. If you post the entire transcript, we can confirm that.

    If your server does not support passive mode connections, to connect to it you must either see if the server supports SFTP connections, or turn the firewall off.

    Please let us know if you have further questions or if the above does not help.

    Thanks,

    Scott McGuire
    Fetch Softworks

    [This message has been edited by ScottMcGuire (edited 04-03-2006).]

    Posted 8 years ago #

  • WHITE Member

    Hi. I checked. Passive mode was on.

    Here's transcript. I censored parts as it's a private ftp server.

    Fetch 5.0.5 (5A835) PowerPC running on Mac OS X 10.3.9 (7W98) PowerPC English
    StuffIt Engine 0x811, StuffIt SDK Version 9.0.1
    Expires 03/29/2006 T
    Connecting to xxx.xxx.org port 444 (OS X firewall is on) (4/3/06 11:38:55 AM)
    Connected to xx.xxx.xxx.xxx port 444 (4/3/06 11:38:56 AM)
    220 Serv-U FTP-Server v2.5a for WinSock ready...
    USER Nick78
    331 User name okay, need password.
    PASS
    230 User logged in, proceed.
    SYST
    215 UNIX Type: L8
    PWD
    257 "/g:/downloads" is current directory.
    PWD
    257 "/g:/downloads" is current directory.
    TYPE A
    200 Type set to A.
    PASV
    227 Entering Passive Mode (xxx,xxx,x,x,12,28)
    ABOR
    226 ABOR command successful.
    PORT xxx,xxx,x,xxx,192,62
    200 PORT Command successful.
    LIST -al
    150 Opening ASCII mode data connection for /bin/ls.
    Update check skipped at 04/03/2006 11:39 AM (next check after 04/08/2006 01:40 AM)
    Active mode connection blocked by OS X firewall, port 49214
    ABOR
    426 Transfer aborted.
    226 ABOR command successful.
    ftp_list: -30027 (state == GETTING_LIST)

    That's as far as I get. He uses a PC.

    Please advise.

    Posted 8 years ago #

  • WHITE Member

    Sorry. More transcript.

    PWD
    257 "/g:/downloads" is current directory.
    PWD
    257 "/g:/downloads" is current directory.
    PWD
    257 "/g:/downloads" is current directory.
    PWD
    257 "/g:/downloads" is current directory.
    PWD
    257 "/g:/downloads" is current directory.
    PWD
    257 "/g:/downloads" is current directory.
    PWD
    257 "/g:/downloads" is current directory.
    PWD
    257 "/g:/downloads" is current directory.
    PWD
    257 "/g:/downloads" is current directory.
    PWD
    257 "/g:/downloads" is current directory.
    PWD
    257 "/g:/downloads" is current directory.
    PWD
    257 "/g:/downloads" is current directory.
    PWD
    257 "/g:/downloads" is current directory.
    PWD
    257 "/g:/downloads" is current directory.
    PWD
    257 "/g:/downloads" is current directory.
    PWD
    257 "/g:/downloads" is current directory.
    PWD
    257 "/g:/downloads" is current directory.
    PWD
    257 "/g:/downloads" is current directory.
    PWD
    257 "/g:/downloads" is current directory.

    this repeats maybe forever.

    Posted 8 years ago #

  • Scott McGuire Administrator

    Hi,

    Thanks for the additional information. The full transcript shows that the server isn't set up to support passive mode FTP.

    You can ask if they can set it up to support passive mode FTP (or possibly to support SFTP), otherwise your only option is to turn off your Mac OS X firewall temporarily when you need to communicate with this server.

    Sorry,

    Scott McGuire
    Fetch Softworks

    Posted 8 years ago #

  • WHITE Member

    Hi.

    I tried it again after turning my Firewall off.

    Still no success.

    Posted 8 years ago #

  • Scott McGuire Administrator

    Hi,

    Hmm. Could you please post a transcript of your connection with your firewall off? Sorry for the bother.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 8 years ago #

  • WHITE Member

    Hi.

    Here is a transcript. I really hope it helps.

    Fetch 5.0.5 (5A835) PowerPC running on Mac OS X 10.3.9 (7W98) PowerPC English
    StuffIt Engine 0x811, StuffIt SDK Version 9.0.1
    Expires 03/29/2006 T
    Update check skipped at 04/03/2006 06:21 PM (next check after 04/08/2006 01:40 AM)
    Connecting to xxx.org port 444 (OS X firewall is off) (4/3/06 6:21:30 PM)
    Connected to xx.xx.xx.145 port 444 (4/3/06 6:21:31 PM)
    220 Serv-U FTP-Server v2.5a for WinSock ready...
    USER Nick78
    331 User name okay, need password.
    PASS
    230 User logged in, proceed.
    SYST
    215 UNIX Type: L8
    PWD
    257 "/g:/downloads" is current directory.
    PWD
    257 "/g:/downloads" is current directory.
    TYPE A
    200 Type set to A.
    PASV
    227 Entering Passive Mode (xx,xx,xx,xx,7,73)
    ABOR
    226 ABOR command successful.
    PORT xx,xx,xx,xx,192,22
    200 PORT Command successful.
    LIST -al
    150 Opening ASCII mode data connection for /bin/ls.
    ABOR
    426 Transfer aborted.
    226 ABOR command successful.
    ftp_list: -30027 (state == GETTING_LIST)
    PWD
    257 "/g:/downloads" is current directory.
    PWD
    257 "/g:/downloads" is current directory.
    PWD
    257 "/g:/downloads" is current directory.

    Posted 8 years ago #

  • Scott McGuire Administrator

    Hi,

    Let's try this: uncheck the "Use passive mode transfers" preference (in the General tab), and with your firewall off, try to connect to the server. Does that work?

    If it doesn't, can you connect to ftp.fetchsoftworks.com when both passive mode and the firewall are off?

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 8 years ago #

  • WHITE Member

    Hi.

    I did as you said.

    No success on the first site.

    I had no problem with your site.

    Posted 8 years ago #

  • Scott McGuire Administrator

    Hi,

    I notice that you are connecting to the server using port 444, instead of the standard FTP port of 21. It also appears that you may have a NAT/router as part of your Internet setup.

    Combined with the fact that the server doesn't support passive mode connections, this means probably you won't be able to successfully communicate with the server unless changes are made on the server end. You should ask the server administrator if to change the server to use port 21 (or support passive mode, as I mentioned before). (Just changing the port you specify in Fetch isn't sufficient.)

    If you plug your Mac directly into your cable/DSL modem (which takes the NAT out of the setup), you might be able to communicate with the server, but that's probably more hassle than you want.

    Let us know if you have more questions,

    Scott McGuire
    Fetch Softworks

    [This message has been edited by ScottMcGuire (edited 04-04-2006).]

    Posted 8 years ago #

Reply

  • Or nickname, if you prefer.
  • This will be kept confidential.
  • This is to ensure that you’re a person, not a spambot.