Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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)
[RESOLVED] Re: SFTPBrowser example build failed [message #61307 is a reply to message #61306] Sun, 22 December 2024 13:25 Go to previous messageGo to previous message
Scott_Huang is currently offline  Scott_Huang
Messages: 27
Registered: December 2024
Promising Member
Hello Oblivion,

It worked at last Smile

In short:

1. Fix LoadDir() issue, replaced by SFtp::DirList
2. Fix filesize (in SFtpStream.cpp open function) issue.
if(handle) {
		SFtpAttrs attrs;
		Zero(attrs);
		if(iomode != CREATE && !sftp->GetAttrs(handle, attrs)) {
			sftp->Close(handle);
			handle = nullptr;
			return false;
		}
		OpenInit(mode, attrs.filesize); // filesize always should be 0 for create|truncate
	}


And You also add more features:
1) set chunksize
2) set waitstep
3) set compression
4) allows dropping files onto browser for uploading.

I do learn a lot from these discussions/update code/do testings Smile
Appreciate your professional and kindly support! Thanks.

And please add parallel download/upload capability for single big file into this sample if you agree and when you free. Thanks.
Btw, before I use Golang Fyne GUI framework and its networking package, one of simple solution for above purpose is create several thread read that big file different portion and do the parallel upload/download.

Regards,
Scott Huang

[Updated on: Sun, 22 December 2024 13:34]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Latest U++ PDF version user guide to describe framework/tips/examples
Next Topic: The UPP looks good -> Opportunities to evolve to better support RPA & AI
Goto Forum:
  


Current Time: Tue Aug 05 14:42:16 CEST 2025

Total time taken to generate the page: 0.02993 seconds