Your best friend for file transfer.

Fetch application logoFetch

STOU invalid number of parameters (9 posts)

  • Started 18 years ago by duggo
  • Latest reply 18 years ago from duggo
  • duggo Member

    Keep getting this when trying to upload any file (example anorak.htm given)

    Message log is as follows

    227 Entering Passive mode (195,224,49,110,12,175).
    STOU anorak.htm
    500 'STOU anorak.htm' : Invalid number of parameters
    ftp_store_setup: -30000 (state == PUT_SETTING_UP)
    ABOR

    Sorry to be so dumb, but it's driving me demented. I'm just trying out this software to see if it can solve the problem. This is the first FTP log that's given me a fault.

    Best regards
    duggo

    Posted 18 years ago #

  • Jim Matthews Administrator

    When you upload a file set the "If a file already exists:" menu to "Replace existing file" (not "Put a new file with a new name"). The "Put a new file with a new name" option uses a command (STOU) that your server apparently does not support.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 18 years ago #

  • duggo Member

    I'd already tried that one, Jim. For the record, this is what the "Replace existing file" dialogue gives me.

    PASV
    227 Entering Passive Mode (195,224,49,110,10,241)
    STOR anorak.htm
    125 Data connection already open: Transfer starting

    Unsuccessful transfer of anorak.htm (7,202 bytes, 34 bytes/sec, 3:29 elapsed) stopped at 21:09:55
    ABOR

    How do I know what commands my server supports? The ISP seems to be able to FTP a test file to my site with no trouble. He, probably, is using a Windows platform, though.

    Best regards
    duggo

    Posted 18 years ago #

  • Jim Matthews Administrator

    Can you upload a file to the incoming folder on ftp.fetchsoftworks.com? To try that leave the Username and Password fields in the New Connection dialog blank, and ignore the permission error when you enter the incoming folder.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 18 years ago #

  • duggo Member

    I'm trying to send .htm files as requested to the "incoming" folder.
    It's an .htm file called anorak.htm of 6,9KB.

    Here is the transcript:

    CWD incoming
    250 "/incoming" is new cwd
    PWD
    257 "/incoming" is cwd
    PASV
    227 Entering Passive Mode (etc)
    LIST
    553 Permission denied
    ftp_list: -30000 (state == GETTING_LIST)
    TYPE 1
    200 Type okay
    PASV
    227 Entering Passive Mode (etc)
    STOU anorak.htm
    150 Data connection accepted from etc ; transfer starting

    Then hangs - no transfer happens.

    When using NEW FILE, this is the log

    227 Entering Passive Mode (etc)
    STOR anorak.htm
    550 Could not open: File exists
    ftp_store_setup: -300004 (state == PUT_ SETTING_UP)
    ABOR
    as nothing (again) is transferring.

    Sorry to be such a PITA
    Best
    duggo

    Posted 18 years ago #

  • Jim Matthews Administrator

    It looks as if your computer can't upload data. The most likely cause would be a problem with your modem (phone modem, cable modem, dsl modem). Do you know if you are connected to your modem with ethernet? Or are you using Airport?

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 18 years ago #

  • duggo Member

    Using ethernet, and connecting via Netgear ADSL router.
    FTP access is ON.
    Best
    duggo

    Posted 18 years ago #

  • Jim Matthews Administrator

    It's a stretch, but you might try changing the MTU (Maximum Transmission Unit) for your ethernet connection. To change the MTU on Mac OS X 10.3:

    1) Choose System Preferences... from the Apple menu.
    2) Click on the Network icon.
    3) Set the "Show:" pop-up menu to "Built-in Ethernet"
    4) Click on the "Ethernet" tab (the last one, after Proxies).
    5) Set the "Configure:" pop-up menu to "Manually (Advanced)"
    6) Set the Maximum Packet Size (MTU): to Custom, and enter 1400 in the field there.
    7) Click the "Apply Now" button.

    If that does not help you can reverse the change by setting the Configure menu back to Automatically.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 18 years ago #

  • duggo Member

    Jim,
    Who would have thought such a small change would have had such an effect. I've just tried uploading a small file and it has succeeded with no fuss whatsoever.
    Many thanks
    duggo

    Posted 18 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.