Your best friend for file transfer.

Fetch application logoFetch

Could not get file because the SFTP server sent an unexpected response (5 posts)

  • Started 9 months ago by Erik
  • Latest reply 6 months ago from Jim Matthews
  • Erik Member

    A client of ours is trying to retrieve files from our sftp site using Fetch, and is unable. I have just downloaded Fetch 5.8.3 and I get the same error. We generally use Transmit, and many other clients use Cyberduck with no issues. We can login, upload and navigate just fine, it is the getting of files that is the problem.

    The error is: Fetch could not get <filename> because the SFTP server sent an unexpected response. Contact Fetch Softworks technical support for assistance.

    So here we are!

    Also, here is a snippet from the transcript log. It appears we are being disconnected while attempting the download:

    SSH2_FXP_READDIR 23
    SSH2_FXP_CLOSE 24
    SSH2_FX_OK 24
    SSH2_FXP_OPEN 25, /nyt-sftp/IW/LSD/LSD-PDFs/20221210_LSD_04_JMP.pdf [ SSH2_FXF_READ ]
    SSH2_FXP_FSTAT 26
    Download of 20221210_LSD_04_JMP.pdf failed (err = 2,24002) with 0 bytes transferred (state == RGET_RETRIEVING)
    retry_failed_operation derr = 2, 24002 retry_state = RGET_FILE_START cancel_cur_cmd = 1 force_reconnect = 0 tw->retry_reconnect_count = 0 making_progress = 0, tw->retry_count = 0
    Unsuccessful download of 20221210_LSD_04_JMP.pdf (0/1,091,303 bytes, 0 bytes/sec, 0:00 elapsed) stopped at 2023-02-06T21:53:03Z (error: 2,24002)
    Error retrieving file, will retry (attempt #1)
    Connecting to Core_Iw@nytftp.nytlicensing.com port 22 (2023-02-06T21:53:08Z)
    SSH2_FXP_INIT 3
    SSH2_FXP_REALPATH 1, .
    /nyt-sftp
    SSH2_FXP_STAT 2, /nyt-sftp
    SSH2_FXP_REALPATH 3, /nyt-sftp/IW/LSD/LSD-PDFs

    Appreciate any advice.
    Cheers,
    Erik

    Posted 9 months ago #

  • Jim Matthews Administrator

    Hi,

    Could you try typing this in Terminal and letting me know if it makes a difference?

    defaults write com.fetchsoftworks.Fetch MultipleOutstandingSFTPReads --bool false

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 9 months ago #

  • Erik Member

    Thanks, Jim, that did the trick!

    Posted 9 months ago #

  • Tom Member

    I am having the same issue. Running Fetch 5.8.3. Have tried using the GET icon and also simple drag and drop. Tried the Terminal plug in, though not sure what I was doing, and no change. Help!

    Posted 6 months ago #

  • Jim Matthews Administrator

    Hi Tom,

    Could you contact me at https://fetchsoftworks.com/fetch/feedback ?

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 6 months ago #

Reply

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