Your best friend for file transfer.

Fetch application logoFetch

Port Command Rejected error (9 posts)

This is an archived topic. The information in it is likely to be out-of-date and no longer applicable to current versions of Fetch.
  • Started 23 years ago by RickPoet
  • Latest reply 23 years ago from Jim Matthews
  • RickPoet Member

    Hi,

    I'm using Mac OS X, with Fetch 4.0b7.

    When I attempt to log in to any of my bookmarked directories for the sites I maintain, I receive the error "Port Command Rejected."

    When i launch Fetch 3.0.3 in Classic mode, I can log in and see the file directory, but uploads never complete. (The circle fills in all the way...but the dog...never stops...must be tired.)

    Using the same set of preferences and launching in Mac Os 9.1 (not classic), Fetch 3.0.3 works perfectly.

    Any fixes for 4.0b7?

    I already tried swithcing to pasv mode in the proxies section of Network preferences.

    Thanks.

    Posted 23 years ago #

  • Jim Matthews Administrator

    I'd be curious to see the transcripts on X of connection attempts with and without PASV enabled.

    Jim Matthews
    Fetch Softworks

    Posted 23 years ago #

  • RickPoet Member

    OK. Here is the transcript with PASV disabled:

    PoetrySuperHighway.com CONNECTING -> SENDING_PBSZ 0
    PoetrySuperHighway.com SENDING_PBSZ -> SENDING_PROT 0
    PoetrySuperHighway.com SENDING_PROT -> GETTING_INFO 0
    SYST
    215 UNIX Type: L8 Version: BSD-199506
    PWD
    257 "/" is current directory.
    MACB ENABLE
    500 'MACB ENABLE': command not understood.
    PoetrySuperHighway.com GETTING_INFO -> GETTING_WD 0
    PWD
    257 "/" is current directory.
    PoetrySuperHighway.com GETTING_WD -> GETTING_LIST 0
    PORT 169,254,95,28,80,78
    500 PORT command rejected.
    ftp_list: -30000 (state == GETTING_LIST)
    PoetrySuperHighway.com GETTING_LIST -> IDLE 0

    and here is the one with PASV enabled:

    NOT_CONNECTED -> NOT_CONNECTED 0
    PoetrySuperHighway.com NOT_CONNECTED -> CONNECTING 0
    Connecting to PoetrySuperHighway.com port 21 (4/1/01 2:54:01 PM)
    220 88.cyberhost.net ftp server (Version 5.4.3) ready.
    ADAT
    500 'ADAT Hi there, do you support security?': command not understood.
    USER poetrysu
    331 Password required for poetrysu.
    PASS
    230 User poetrysu logged in.
    PoetrySuperHighway.com CONNECTING -> SENDING_PBSZ 0
    PoetrySuperHighway.com SENDING_PBSZ -> SENDING_PROT 0
    PoetrySuperHighway.com SENDING_PROT -> GETTING_INFO 0
    SYST
    215 UNIX Type: L8 Version: BSD-199506
    PWD
    257 "/" is current directory.
    MACB ENABLE
    500 'MACB ENABLE': command not understood.
    PoetrySuperHighway.com GETTING_INFO -> GETTING_WD 0
    PWD
    257 "/" is current directory.
    PoetrySuperHighway.com GETTING_WD -> GETTING_LIST 0
    PORT 169,254,95,28,77,100
    500 PORT command rejected.
    ftp_list: -30000 (state == GETTING_LIST)
    PoetrySuperHighway.com GETTING_LIST -> IDLE 0

    Posted 23 years ago #

  • Jim Matthews Administrator

    It looks like PASV was disabled in both of those sessions (i.e. they both use PORT commands instead of PASV). It looks like you're behind a Network Address Translation gateway, so I would expect PASV to work better. Is the "Use passive mode transfers (PASV)" box checked in the Firewall section of Preferences?

    Jim Matthews
    Fetch Softworks

    Posted 23 years ago #

  • RickPoet Member

    Yes...dounle and triple checked it...even again right now...PASV mode is selected.

    Getting 'Port Comand Rejected' error.

    Here's the transcript from this most recent attempt:

    USER poetrysu
    331 Password required for poetrysu.
    PASS
    230 User poetrysu logged in.
    PoetrySuperHighway.com CONNECTING -> SENDING_PBSZ 0
    PoetrySuperHighway.com SENDING_PBSZ -> SENDING_PROT 0
    PoetrySuperHighway.com SENDING_PROT -> GETTING_INFO 0
    SYST
    215 UNIX Type: L8 Version: BSD-199506
    PWD
    257 "/" is current directory.
    MACB ENABLE
    500 'MACB ENABLE': command not understood.
    PoetrySuperHighway.com GETTING_INFO -> GETTING_WD 0
    PWD
    257 "/" is current directory.
    PoetrySuperHighway.com GETTING_WD -> GETTING_LIST 0
    PORT 169,254,100,155,140,115
    500 PORT command rejected.
    ftp_list: -30000 (state == GETTING_LIST)
    PoetrySuperHighway.com GETTING_LIST -> IDLE 0

    Posted 23 years ago #

  • Jim Matthews Administrator

    That is very weird! When the "Use passive mode transfers (PASV)" box is checked, Fetch should not use the PORT command -- but your transcript shows the PORT command.

    I should mention that changes you make to that setting only take effect with the next transfer window you open. Could you try again to get a transcript with PASV rather than PORT commands?

    Posted 23 years ago #

  • RickPoet Member

    OK...transcript pasted below. I quadruple checked the PASV box set in the Network Settings and also restarted just for good measure, and then checked again...here's what happened:

    NOT_CONNECTED -> NOT_CONNECTED 0
    PoetrySuperHighway.com NOT_CONNECTED -> CONNECTING 0
    Connecting to PoetrySuperHighway.com port 21 (4/2/01 5:41:04 PM)
    220 88.cyberhost.net ftp server (Version 5.4.3) ready.
    ADAT
    500 'ADAT Hi there, do you support security?': command not understood.
    USER poetrysu
    331 Password required for poetrysu.
    PASS
    230 User poetrysu logged in.
    PoetrySuperHighway.com CONNECTING -> SENDING_PBSZ 0
    PoetrySuperHighway.com SENDING_PBSZ -> SENDING_PROT 0
    PoetrySuperHighway.com SENDING_PROT -> GETTING_INFO 0
    SYST
    215 UNIX Type: L8 Version: BSD-199506
    PWD
    257 "/" is current directory.
    MACB ENABLE
    500 'MACB ENABLE': command not understood.
    PoetrySuperHighway.com GETTING_INFO -> GETTING_WD 0
    PWD
    257 "/" is current directory.
    PoetrySuperHighway.com GETTING_WD -> GETTING_LIST 0
    PORT 169,254,27,144,234,143
    500 PORT command rejected.
    ftp_list: -30000 (state == GETTING_LIST)
    PoetrySuperHighway.com GETTING_LIST -> IDLE 0
    PoetrySuperHighway.com IDLE -> CHANGING_DIR 0 /
    CWD /
    250 CWD command successful.
    PoetrySuperHighway.com CHANGING_DIR -> GETTING_WD 0 /
    PWD
    257 "/" is current directory.
    PoetrySuperHighway.com GETTING_WD -> GETTING_LIST 0 /
    PORT 169,254,27,144,119,192
    500 PORT command rejected.
    ftp_list: -30000 (state == GETTING_LIST)
    PoetrySuperHighway.com GETTING_LIST -> IDLE 0 /

    Thanks for your time on this.

    Rick

    Posted 23 years ago #

  • RickPoet Member

    Cancel everything! I just found that although I had PASV mode selected in the Network Preferences, I DIDN'T have it selected in the Fetch preferences.

    Fixed and it worked.

    Though The app (4.0...) does run signifficantly slower than fetch 3 does.

    It takes about a minute for the directory to completely load, in 4.0 in OS X whereas it takes about 3 seconds in 3.0 running in Classic Mode under OS 9.1.

    I'm running a Fairly new 400 mhz G4 on a dsl line.

    What's up with that?

    Rick

    I'm on a G4 with

    Posted 23 years ago #

  • Jim Matthews Administrator

    Loading file lists is slow in Fetch 4.0 on Mac OS X; I'm hoping to improve things before the release.

    Posted 23 years ago #

Topic closed

This topic has been closed.