Results 1 to 9 of 9
  1. #1
    Join Date
    Aug 2008
    Posts
    5

    Default SFTP with freesshd

    Hello,
    I'm connecting to a freesshd server 1.2.1 (www.freesshd.com) running on windows server 2003. I'm able to list remote repositories without any problems. I'm also able to view remote files for comparisons.

    But when I'm trying to upload remote files, beyond compare start with the first file upload (which succeed) and then the remote freesshd daemon service crash without any notification. It's as it doesn't like a command that is made at the end of a file upload.

    Thanks,
    Sebastien.

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    2,507

    Default

    Hi Sebastien,

    I can't reproduce this issue here. How big are the files you're transferring, and are they ASCII or binary? Have you tried reporting the same issue to the freesshd guys?
    ZoŽ P Scooter Software

  3. #3
    Join Date
    Aug 2008
    Posts
    5

    Default

    Hi Craig,

    Thks for having looked into this. I'm still blocked on the pb. I've reported the issue to freesshd but hasn't got any answer yet.
    I'm mainly transferring small files, ASCII or binary. I know for sure it fails with small ASCII files (the last transfer I've tried yesterday). The first file is updated then the transfer fails.

    Thanks,
    Sebastien.

  4. #4
    Join Date
    Aug 2008
    Posts
    5

    Default

    Hi again,

    To share some more information.

    I've tried updating the same files with winscp 4.0 and it succeed. I was able to upload multiple files in sequence without any trouble.

    In the past I was also able to upload files using BC 2.x series combined with bitvise tunnelier FTP->SFTP bridge mode and it was also OK.

    So it looks like BC3 is issuing a command that feesshd doesn't like at all. Maybe it has something to do with freesshd capabilities.

    Following is what winscp tells me about the server & protocol info.

    Protocol tab:

    Session protocol = SSH-2
    SSH implementation = WeOnlyDo 2.0.3
    Encryption algorithm = aes
    Compression = No
    File transfer protocol = SFTP-3

    Capabilities tab:

    Can change permissions = Yes
    Can change owner/group = No
    Can create symlink/hardlink = Yes/No
    Can lookup user groups = No
    Can duplicate remote files = No
    Can check available space = No
    Can calculate file checksum = No
    Native text (ASCII) mode transfers = No

    The server does not support any SFTP extension.

    Maybe there can be some useful info here.
    Thks,

    Sebastien.

  5. #5
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    2,507

    Default

    You've described the problem as both the daemon crashing and as the transfer failing. Does the daemon actually stop running, or does it just drop the connection and you're able to immediately reconnect? If it's the former the freeSSHD devs are really the only people that can help; if it's the later I might be able to do something if you can give me a limited login on the server. If you're able just email support@scootersoftware.com with the details and I'll see if I can find anything. I still have not been able to reproduce the crash here.

    If it's ASCII transfers only, today's release may fix the problem. I added support for detecting servers that we know only run on Windows, and BC will always do binary transfers in that case.
    ZoŽ P Scooter Software

  6. #6
    Join Date
    Aug 2008
    Posts
    5

    Default

    Hi Craig,

    It is the daemon that completely crashes. But now, I know which command make it crash !!!

    If I uncheck the 'preserve timestamp' option in ftp profile for my connection, I have no trouble copying files either in ascii or binary mode.

    To be sure, I've tried touching a remote file and it makes the freesshd daemon crashing as well. So for sure, it is the command that tries to update the timestamp of remote file that make it crash.

    Can you tell me which SFTP command do you use for that purpose so I can send a better detailed bug report to the freesshd team.

    Thks again for you time,

    Sebastien.

  7. #7
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    2,507

    Default

    Thanks for the followup. I found a bit if code that could be causing the problem (still can't repeat it inhouse), and sent information on a test build to the email address you used to register in the forums. Let me know if you don't get it.
    Last edited by ZoŽ; 18-Sep-2008 at 09:39 AM.
    ZoŽ P Scooter Software

  8. #8
    Join Date
    Aug 2015
    Posts
    1

    Default

    Hi ZoŽ,

    after roughly 10 years of BC usage I recently purchased/updated to BC 4. I am still experiencing the above freesshd crash when uploading a file + preserving timestamp option enabled.

    Can you do anything about that, or would you say it's a bug in freesshd? In the latter case I would file them a bug report.

    Best regards,
    Ansgar / HeidiSQL

  9. #9
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,623

    Default

    Hello,

    Do you have a test account we could use to connect and test against the FTP server? We were never able to reproduce the issue in house, and Zoe's test build wasn't able to help for this user.

    You can email us at support@scootersoftware.com with a link back to this forum thread for our reference.
    Aaron P Scooter Software

Posting Permissions

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