Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.1k views
in .NET FTP by (520 points)
I am using the edtFTPnet component to upload files.

When I try to upload a file, both the Uploading and Uploaded events fire multiple times. How many times should these events fire per file being uploaded?

I also noticed that for both events the "bytes[]" property of the FTPFileTransferEventArgs is always null. How do I determine file upload progress?

Thanks.

1 Answer

0 votes
by (162k points)
They should fire once each each. Otherwise there's a bug. Ensure you've got the latest version, and if you do, please have a go at debugging and see where it is being called twice.

bytes[] is only used if you are uploading a byte array. For file upload progress look at the BytesTransferred event.

Categories

...