EldoS | Feel safer!

Software components for data protection, secure storage and transfer

FTP - FileDate

Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.
#33200
Posted: 05/02/2015 06:11:25
by Frank Pfotenhauer (Standard support level)
Joined: 02/27/2014
Posts: 5

Dear fellow-members,

I'm using Delphi XE7 on Windows 7.
I would like to change from Indy10 to SecureblackBox FTPS.

Most work is done.

But I still have two questions:

1. TElftpFileInfo(dirList.Items[I]).FileDate replies (gmt-) servertime. Is there a way to change to localtime?

2. In Indy10 you can set the filedate (idFTD.SetModTime (...)). Is there also a method in SecureBlackBox FTPS?

Best regards
#33207
Posted: 05/04/2015 02:41:08
by Vsevolod Ievgiienko (EldoS Corp.)

Thank you for contacting us.

Quote
1. TElftpFileInfo(dirList.Items[I]).FileDate replies (gmt-) servertime. Is there a way to change to localtime?

The date is reported in GMT format for MLSD command (if supported by the server) and in server dependent format for regular LIST command. In case of GMT you can use SBUtils.UTCTimeToLocalTime to convert it to local time.

Quote
2. In Indy10 you can set the filedate (idFTD.SetModTime (...)). Is there also a method in SecureBlackBox FTPS?

We don't have such method. Indy uses MFTM/MDTM commands to implement it. Both commands are optional on server side. You can use TElSimpleFTPSClient.SendCmd to send a custom command to server.
#33208
Posted: 05/04/2015 03:11:44
by Frank Pfotenhauer (Standard support level)
Joined: 02/27/2014
Posts: 5

Thank you for answering!

Please let me ask you another question:

1. When uploading a file, is there a way to preserve the filedate of the local file?

2. When using Ftps (SSL / TLS), must I deploy any dll's (ssleay32.dll libeay32.dll)?

Kind regards
#33209
Posted: 05/04/2015 03:19:45
by Vsevolod Ievgiienko (EldoS Corp.)

Quote
1. When uploading a file, is there a way to preserve the filedate of the local file?

Local file date is not changed except possible change of last access data, but this is done on OS level.

Quote
2. When using Ftps (SSL / TLS), must I deploy any dll's (ssleay32.dll libeay32.dll)?

SecureBlackbox is all-sufficient and doesn't depend on third-party libraries. We have our own SSL/TLS implementation.
#33210
Posted: 05/04/2015 03:46:06
by Frank Pfotenhauer (Standard support level)
Joined: 02/27/2014
Posts: 5

Sorry for misunderstanding!
Let me explain what I mean:
The local file has a filedate - for example 05/02/2015 08:11:00.
When I upload this file at 05/04/2015 10:00:00 the uploaded file gets the filedate 05/04/2015 10:00:00.
Instead I would like to preserve the original filedate (05/02/2015 08:11:00).
Is this possible?

Kind regards
#33213
Posted: 05/04/2015 04:13:42
by Vsevolod Ievgiienko (EldoS Corp.)

Currently this feature can be implemented only using TElSimpleFTPSClient.SendCmd method and custom commands.
Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.

Reply

Statistics

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