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: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
#35919
Posted: 02/17/2016 08:43:07
by Frank Hommers (Standard support level)
Joined: 02/10/2016
Posts: 5

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 (Team)

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 1639 times

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




|

Back to top

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

Got it!