Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.8k views
in Java FTP by (160 points)
Using edtFTPj-free. I use FileTransferClient.uploadStream and I provide an EventListener. I never get a start notification and the bytes transferred has a null for the remoteFile parameter. The only calls to transferStarted in EventAggregator are done when downloading from the FTP server and not when uploading to the FTP server. Am I doing something wrong or is this a bug?

Is there a fix or workaround to this already? If so, can I get the change?

Thanks.

1 Answer

0 votes
by (160 points)
I ended up creating a subclass of FileTransferClient in order to access the EventAggregator and call the transferStarted and transferCompleted methods. This resolved the remoteFile problem of being null for the byte transfer notifications.

Categories

...