IwodFTPDNotify TransferComplete - WeOnlyDo Discussion board

IwodFTPDNotify TransferComplete (wodFTPServer)

by tallycom, Tuesday, December 15, 2015, 02:23 (3267 days ago)

Hi

In IwodFTPDNotify_TransferComplete(ByVal Owner As wodFTPDComLib.IwodFTPDCom, ByVal User As wodFTPDComLib.IFtpUser, ByVal Successful As Boolean)

When this event fires, how can I know filename transfered.

thanks.

IwodFTPDNotify TransferComplete

by Jasmine, Tuesday, December 15, 2015, 11:03 (3266 days ago) @ tallycom

Hi.

TransferComplete doesn't keep reference to a filename. However, it is a result of previous UploadFile or DownloadFile event, which is always fired when transfer starts, and those events know about filename.

So, what I can suggest is to set User.Tag = RelativePath in those events, and then just use User.Tag from within TransferComplete event.

I hope this helps!
Jasmine.