IwodFTPDNotify TransferComplete (wodFTPServer)

by tallycom, (3434 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.

locked

IwodFTPDNotify TransferComplete

by Jasmine, (3434 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.

locked