EldoS | Feel safer!

Software components for data protection, secure storage and transfer

FTP(S) - Is there a way to know that I client aborted a file?

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
#35919
Posted: 02/17/2016 08:43:07
by Frank Hommers (Basic support level)
Joined: 02/10/2016
Posts: 4

Hi, I want my FTP server to delete partially (aborted) files.

I can't find a "OnAbort" event of something of that order...

I am evaluating SecureBlackbox.NET FTP(S) Server.
#35920
Posted: 02/17/2016 08:51:20
by Vsevolod Ievgiienko (EldoS Corp.)

Thank you for contacting us.

The event exists in low-level TElFTPSServer class, but is not propagated to high level classes. What you can do is:

1) handle TElSimpleFTPSServer.OnNewConnection event
2) get Session.FTPSServer property value inside - this is a reference to underlying TElFTPSServer instance;
3) save Session.FTPSServer.OnAbortTransfer event handler
4) assign new Session.FTPSServer.OnAbortTransfer event handler that should also fire a previous one saved on step 3.

Reply

Statistics

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