Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.7k views
in .NET FTP by (1.5k points)
Hi
I'm using edFTPpro and VB.
I'm downloading & deleting multiple files and thats working fine. What I'd like to know is where an exception would be thrown when one of the remote files is deleted from outside of my app, say by the server operator etc, whilst the batch is being downloaded. Naturally this results in a file not found exception.
I have exception handling in OnConnect, OnDownload, OnDelete and OnClose but the exception isn't within those, although I would have expected it in the onDownload.

Any clues on where I need to trap the error?

cheers
Malcom

1 Answer

0 votes
by (162k points)
Are you using asynchronous methods?

I would expect an exception to be received in the Downloaded event. You can access the exception via a property in the event-args.

Categories

...