Home » Community » Newbie corner » [Solved] SFTPBrowser example build failed (SFTPBrowser example buil error: error LNK2019: unresolved external symbol __imp_CertCloseStore referenced in function winstore_close)
Re: SFTPBrowser example build failed [message #61272 is a reply to message #61271] |
Wed, 18 December 2024 14:11   |
Oblivion
Messages: 1221 Registered: August 2007
|
Senior Contributor |
|
|
Hello Scott,
Quote:Thank you @Oblivion. Yes, can successful build now.
And I try run the exe, it able connect to SFTP server.
However several issues:
1. My SFTP server have some folders, but the GUI did not show up.
2. I try create a folder through exe, no response & error. I use other software to connect to my SFTP, the folder does created.
3. I try upload a small text file, such as test.txt, only 47byte, it seems error. However, it create a 0 byte test.txt file in SFTP server if I use other software to checking.
index.php?t=getfile&id=7022&private=0
4. So, I try to rebuild all, and hope the issue can be fixed since we just adjust SSH build way, the issue still same.
Below are the logs:
SSH: Session, oid: 1: Using Upp's memory managers.
SSH: Session, oid: 1: Session successfully initialized.
SSH: Session, oid: 1: Compression is disabled.
SSH: Session, oid: 1: Handshake successful.
SSH: Session, oid: 1: Authentication methods list successfully retrieved: [publickey,password,keyboard-interactive]
SSH: Session, oid: 1: Client succesfully authenticated.
SSH: SFtp, oid: 2: Session successfully initialized.
SSH: SFtp, oid: 2: Symbolic link operation is successful. Target: /
SSH: SFtp, oid: 2: Failed. Code = -31, SFTP Protocol Error
SSH: SFtp, oid: 2: Failed. Code = -31, Failed opening remote file
SSH: SFtp, oid: 2: Directory '//temp' is succesfully created.
SSH: SFtp, oid: 2: Failed. Code = -31, SFTP Protocol Error
SSH: SFtp, oid: 2: Failed. Code = -31, Failed opening remote file
SSH: SFtp, oid: 3: Session successfully initialized.
SSH: SFtp, oid: 3: File '//test.txt' is successfully opened.
SSH: SFtp, oid: 3: File attributes successfully retrieved.
SSH: SFtp, oid: 3: EOF received.
SSH: SFtp, oid: 3: Stream write error.
SSH: SFtp, oid: 3: File handle freed.
SSH: SFtp, oid: 3: Session deinitalized.
SSH: SFtp, oid: 2: Session deinitalized.
SSH: Session, oid: 1: Successfully disconnected from the server.
SSH: Session, oid: 1: Session handles freed.
I use the SSH package all the time with no problem (I am also the developer and maintainer of it)
This error "usually" means you don't have read/write access in your current session:
Failed. Code = -31, SFTP Protocol Error
SSH2 servers can setup per-user read/write access differently, that may cause error. Or it may be a path error. I can't really tell at this point. Could you manually DLOG() the path strings in debug mode, so that we can examine them.
To verify this,
Could you try the below test server and see if it is working (you should be able to navigate the server and download files, you will not have write access)
Server: test.rebex.net
Port: 22
User: demo
Password: password
Best regards,
Oblivion
Github page: https://github.com/ismail-yilmaz
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
[Updated on: Wed, 18 December 2024 14:17] Report message to a moderator
|
|
|
 |
|
[Solved] SFTPBrowser example build failed
|
 |
|
Re: SFTPBrowser example build failed
By: Oblivion on Wed, 18 December 2024 10:55
|
 |
|
Re: SFTPBrowser example build failed
|
 |
|
Re: SFTPBrowser example build failed
By: Oblivion on Wed, 18 December 2024 14:11
|
 |
|
Re: SFTPBrowser example build failed
|
 |
|
Re: SFTPBrowser example build failed
|
 |
|
Re: SFTPBrowser example build failed
By: Oblivion on Thu, 19 December 2024 04:15
|
 |
|
Re: SFTPBrowser example build failed
|
 |
|
Re: SFTPBrowser example build failed
By: Oblivion on Thu, 19 December 2024 08:11
|
 |
|
Re: SFTPBrowser example build failed
|
 |
|
Re: SFTPBrowser example build failed
By: Oblivion on Thu, 19 December 2024 10:30
|
 |
|
Re: SFTPBrowser example build failed
By: Oblivion on Thu, 19 December 2024 21:47
|
 |
|
Re: SFTPBrowser example build failed
|
 |
|
Re: SFTPBrowser example build failed
By: Oblivion on Fri, 20 December 2024 06:05
|
 |
|
Re: SFTPBrowser example build failed
|
 |
|
Re: SFTPBrowser example build failed
By: Oblivion on Fri, 20 December 2024 08:47
|
 |
|
Re: SFTPBrowser example build failed
|
 |
|
Re: SFTPBrowser example build failed
By: Oblivion on Fri, 20 December 2024 09:45
|
 |
|
Re: SFTPBrowser example build failed
|
 |
|
Re: SFTPBrowser example build failed
By: Oblivion on Sat, 21 December 2024 11:11
|
 |
|
Re: SFTPBrowser example build failed
|
 |
|
Re: SFTPBrowser example build failed
By: Oblivion on Sun, 22 December 2024 11:41
|
 |
|
[RESOLVED] Re: SFTPBrowser example build failed
|
 |
|
Re: [RESOLVED] Re: SFTPBrowser example build failed
By: Oblivion on Sun, 22 December 2024 14:55
|
 |
|
Re: [RESOLVED] Re: SFTPBrowser example build failed
|
 |
|
Re: [RESOLVED] Re: SFTPBrowser example build failed
By: Oblivion on Mon, 23 December 2024 08:50
|
 |
|
Re: [RESOLVED] Re: SFTPBrowser example build failed
|
 |
|
Re: [RESOLVED] Re: SFTPBrowser example build failed
By: Oblivion on Sat, 28 December 2024 11:18
|
 |
|
Re: [RESOLVED] Re: SFTPBrowser example build failed
|
Goto Forum:
Current Time: Tue Aug 05 14:46:00 CEST 2025
Total time taken to generate the page: 0.02973 seconds
|