EldoS | Feel safer!

Software components for data protection, secure storage and transfer

FTP Download Bugs

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.
#37503
Posted: 08/22/2016 01:40:28
by SooChul Lee (Standard support level)
Joined: 06/04/2016
Posts: 7

Hi,
I got a problem when download some files to using TElSimpleFTPSClient and TElSimpleSFTPClient.

here is my reproduce step.
1. two files on server named server1.txt, server2.txt
2. download server1.txt to client.txt
Code
ftp.uploadFile("/client/client.txt", "/server/server1.txt", TSBFileTransferMode.ftmOverwrite));

3. download server2.txt to client.txt
Code
ftp.uploadFile("/client/client.txt", "/server/server1.txt", TSBFileTransferMode.ftmOverwrite));

4. check client.txt
Quote
11
12
13
14
157
8
9
10


I expected that server2.txt and client.txt are the same file.
Please check out.

The text files was attached.


[ Download ]
#37504
Posted: 08/22/2016 01:40:48
by SooChul Lee (Standard support level)
Joined: 06/04/2016
Posts: 7

server2.txt


[ Download ]
#37505
Posted: 08/22/2016 01:41:00
by SooChul Lee (Standard support level)
Joined: 06/04/2016
Posts: 7

client.txt


[ Download ]
#37506
Posted: 08/22/2016 01:48:04
by SooChul Lee (Standard support level)
Joined: 06/04/2016
Posts: 7

There is wrong reproduce step.

Here is correct step.
1. two files on server named server1.txt, server2.txt
2. download server1.txt to client.txt
Code
ftp.downloadFile("/server/server1.txt", "/client/client.txt", TSBFileTransferMode.ftmOverwrite));

3. download server2.txt to client.txt
Code
Code
ftp.downloadFile("/server/server2.txt", "/client/client.txt", TSBFileTransferMode.ftmOverwrite));


In addition, the file upload will operate normally.
#37507
Posted: 08/22/2016 03:06:32
by Ken Ivanov (EldoS Corp.)

Hi SooChul,

Thank you for contacting us.

1) Could you please alter the second download call in the following way and check if the file is downloaded correctly to the new location (client2.txt) in this case:

Code
ftp.downloadFile("/server/server2.txt", "/client/client2.txt", TSBFileTransferMode.ftmOverwrite));


2) It is not clear from your question - do both TElSimpleSFTPClient and TElSimpleFTPSClient expose the same problem?

3) What sort of environment/OS are you using on the client side?

Thanks,

Ken
#37509
Posted: 08/22/2016 04:00:21
by SooChul Lee (Standard support level)
Joined: 06/04/2016
Posts: 7

Hi Ken,

1. It works normally. server2.txt and client2.txt is clearly same file.

2. Yes. Both TElSimpleSFTPClient and TElSimpleFTPSClient has same problems.

3. The tested client OS is like below.
Quote
1) Windows7 Professional K (Version:6.1, Build:7601 Service Pack1)
2) AIX aix152 1 7 00C6DE924C00
3) SunOS son01 5.10 Generic_147440-01 sun4u sparc SUNW,Sun-Fire-V890
4) HP-UX rx2660 B.11.31 U ia64 2051083424 unlimited-user license
5) Linux localhost.localdomain 2.6.32-358.el6.i686 #1 SMP Tue Jan 29 11:48:01 EST 2013 i686 i686 i386 GNU/Linux


Thanks.
#37510
Posted: 08/22/2016 05:57:38
by Ken Ivanov (EldoS Corp.)

Thank you for the details. Just one more question, could you please confirm the edition of the product (I assume it's Java isn't it?), and the exact build number?

Ken
#37511
Posted: 08/22/2016 07:39:13
by SooChul Lee (Standard support level)
Joined: 06/04/2016
Posts: 7

Sorry for missing version info.

I'm working on SecureBlackBox Java Version.
And it was tested on 14.0.292 and 15.0.295 versions.

15.0.295 has same problems too.
#37512
Posted: 08/22/2016 07:51:51
by Ken Ivanov (EldoS Corp.)

Thank you. We will try to reproduce the issue locally now and get back to you with some form of update shortly (hopefully later today).

Ken
#37513
Posted: 08/22/2016 09:41:32
by Eugene Mayevski (EldoS Corp.)

It's not a bug in SecureBlackbox code. Looks like compiler RTL issue (as you might know, we use not Java compiler, but FreePascal for JVM). We are working on narrowing the issue down.


Sincerely yours
Eugene Mayevski
Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.

Reply

Statistics

Topic viewed 1304 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!