EldoS Corporation - Software components for data Security, Storage and Transfer
Support button
Home / Forums / SecureBlackbox / Forum «SecureBlackbox» - EldoS Corporation
SITE SEARCH
Advanced search
SOLUTION GUIDE
For Software Developers
For Business Integrators
PRODUCT LINES
BizCrypto
SecureBlackbox
Callback File System
CallbackFilter
CallbackDisk
SolFS (Solid File System)
RawDisk
Rethync
MsgConnect
VoxPopuli
SFTP Net Drive
NEED HELP?
Support options
Knowledgebase
Forums
HelpDesk
CUSTOMER RELATIONS
Testimonials
Our clients
Geography
Contact Us
Time to Rest
My Control Center
COMPANY INFORMATION
Company news
Seasonal newsletter
Corporate information
For investors
For press
For partners
FOLLOW US
Forums list
New topics
Topics list
Search
Help
Login
Register

Download a file

Messages 1 - 10 of 12
First | Prev. | 1 2 | Next | Last 

Also by EldoS Corporation: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.
#18882
Created: 02/01/2012 05:45:03
by sean rogers (Basic support level)
Profile
E-Mail
Registration date: 02/01/2012
Total messages: 5

Hi,

we are using SecureBlackBox 6.0.0.139.

I am trying to download large xml files from our SFTP server using c#.

I started by using DownloadStream approach, but for large files this just hangs.

Could someone show me to an article or explain how to open/read/close a file please. I cant find any samples.(VB.net is fine)

Thanks very much.
Back to top
#18883
Created: 02/01/2012 05:50:45
by Vsevolod Ievgiienko (EldoS Corp.)

Thank you for contacting us.

Try to use a sequence of TElSimpleSftpClient.OpenFile/Read/CloseHandle methods.
Back to top
#18884
Created: 02/01/2012 05:54:32
by sean rogers (Basic support level)
Profile
E-Mail
Registration date: 02/01/2012
Total messages: 5

Thanks,

do you have any code examples of the OpenFile/Read/CloseHandle sequence?
Back to top
#18885
Created: 02/01/2012 06:00:47
by Vsevolod Ievgiienko (EldoS Corp.)

No but we have a good documentation on these methods. Please refer to this page for detailed information: http://www.eldos.com/documentation/sb...lient.html
Back to top
#18886
Created: 02/01/2012 06:03:37
by Eugene Mayevski (EldoS Corp.)

First of all, you are using very old version of SecureBlackbox. You should be able to get version 6.2 and most likely upgrade to versions 7.x. To do this, you need to assign the license ticket to your user account. The ticket itself and the procedure of it's use are specified in the registration e-mail that was sent to you upon license purchase.

Next, Samples folder includes samples for SFTP and this includes samples for file transfer.

In version 7 or even in 6.x (don't remember now) we introduced methods to download a file in one call (and much faster than using OpenFile/ReadFile/CloseHandle sequence).


Sincerely yours,
Eugene Mayevski
Back to top
#18888
Created: 02/01/2012 06:28:41
by sean rogers (Basic support level)
Profile
E-Mail
Registration date: 02/01/2012
Total messages: 5

Thanks for replying.

This is the version we are Live with, I am just investigating why large files are not being downloaded.

The samples all use DownloadFile or DownloadStream which dont seem to work with files over a certain size.

I was hoping to find an example of how to read a file in chunks.

Thanks
Back to top
#18889
Created: 02/01/2012 06:44:17
by Vsevolod Ievgiienko (EldoS Corp.)

Try to follow the instructions from this article: http://www.eldos.com/security/articles/4801.php Maybe it will help to solve your problem.
Back to top
#18890
Created: 02/01/2012 06:46:51
by Eugene Mayevski (EldoS Corp.)

Size doesn't matter for DownloadFile or DownloadStream. The problem must be somewhere else. Try instructions in the article, pointed to by Vsevolod.


Sincerely yours,
Eugene Mayevski
Back to top
#18891
Created: 02/01/2012 07:14:17
by sean rogers (Basic support level)
Profile
E-Mail
Registration date: 02/01/2012
Total messages: 5

Thanks I am going to add the OnError handler and see if that catches anything.
The article also mentions SendKeepAlive() but I cant see this method on the Client, is it somewhere else?

Thanks for your time
Back to top
#18892
Created: 02/01/2012 07:53:54
by Vsevolod Ievgiienko (EldoS Corp.)

It seems that it is deprecated and removed. Try to make pipelining-related changes.
Back to top
Also by EldoS Corporation: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.

Messages 1 - 10 of 12
First | Prev. | 1 2 | Next | Last 


Statistics

Topic viewed 1010 times

Number of guests: 1, registered members: 0, in total hidden: 0

Forums list
New topics
Topics list
Search
Help
Login
Register



|
Contact Us | Terms of Use | Trademarks | Privacy Statement | Site Index
Copyright (c) 1998-2013, EldoS Corporation
Design by Web Arsenal