EldoS | Feel safer!

Software components for data protection, secure storage and transfer

SimpleSftpClient and Upload append problem

Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.
#15049
Posted: 11/16/2010 00:11:59
by Timo Kokkinen (Standard support level)
Joined: 11/04/2009
Posts: 7

Hi.

I'm writing a SFTP client and I'm using SFTPBlackbox to implement this (ActiveX edition). The version is 7.1.0.163.

However, there's a problem in file upload. I can't append the new file content to the existing file on the server. The operation always replaces the old file with the new one.

Here's my code shortly:

IElSimpleSftpClientXPtr pSFTPClient = IElSimpleSftpClientXPtr(__uuidof(ElSimpleSftpClientX));

<connection opening is here>

//file upload
pSFTPClient->UploadFileEx(bstrRemote, bstrLocal, ftmAppend);

Any ideas?

--Timo
#15053
Posted: 11/16/2010 02:21:46
by Vsevolod Ievgiienko (EldoS Corp.)

Thank you for contacting us.

Try to use 8.1.191 version of the SFTPBlackbox.
#15055
Posted: 11/16/2010 02:39:56
by Timo Kokkinen (Standard support level)
Joined: 11/04/2009
Posts: 7

Is this a bug or a feature?

We can't upgrade SFTPBlackbox in our product at the moment. Upgrading requires comprehensive testing and this is not possible.

Regards,

Timo
#15063
Posted: 11/16/2010 09:44:37
by Ken Ivanov (EldoS Corp.)

It is hard to say whether this is a bug or a feature without knowing the details of the issue. There is a number of different server implementations who either do not implement some protocol features or implement them incorrectly. By checking append workability with the latest version you could help us find out whether the issue has been fixed/recognized later, and give you some advise on preparing a workaround for it with SBB 7. At least, it makes sense for you to upgrade to the latest 7.x build (7.2.172).

Could you please also
1) check the name of the server software (ServerSoftwareName property),
2) ...and the version of the protocol negotiated (Version property)?
#15064
Posted: 11/16/2010 10:01:09
by Eugene Mayevski (EldoS Corp.)

If you have a license, please assign the license ticket to your user account before we continue. 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.


Sincerely yours
Eugene Mayevski
#15073
Posted: 11/17/2010 02:15:57
by Timo Kokkinen (Standard support level)
Joined: 11/04/2009
Posts: 7

I have the license but I don't have the e-mail because license was purchased by our IT. Is it necessary to have the email or can I assign the license to my account some other way?
#15074
Posted: 11/17/2010 02:56:52
by Ken Ivanov (EldoS Corp.)

Could you please send us your license key (via the Helpdesk, please) so that we could find the license in our database and assign it to your account?
#15075
Posted: 11/17/2010 03:22:12
by Timo Kokkinen (Standard support level)
Joined: 11/04/2009
Posts: 7

I sent the license in reply to ticket # 18057.
#15076
Posted: 11/17/2010 03:43:48
by Eugene Mayevski (EldoS Corp.)

Ok, done with license issues, now about your question.

First of all please tell us
1) the name of the server software (ServerSoftwareName property)
2) the version of the protocol negotiated (Version property)

so that we can do the checks with this server ourselves.

Next, please update to SecureBlackbox 7.2 and see if it solves the problem.

Finally, there's a way to replace UploadFile wih OpenFile/WriteFile/CloseHandle sequence, but it works slower, than UploadFile method. But with it you will be able to perform appends, unless the server doesn't support appends at all.


Sincerely yours
Eugene Mayevski
#15077
Posted: 11/17/2010 03:55:45
by Timo Kokkinen (Standard support level)
Joined: 11/04/2009
Posts: 7

Thank you very much for the license issue Eugene.

And here's some info:

1) Server software: "WeOnlyDo-wodFTPD 2.3.6.165"
2) Version: SB_SFTP_VERSION_3
Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.

Reply

Statistics

Topic viewed 3776 times

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




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!