Discuss (FTP) and (SFTP, FTPS and SCP), our Java file transfer clients.

Suggestion on EventListener

no avatar
User

xiaoyu1985ban

Posts

30

Joined

Wed Mar 18, 2009 1:31 am

Suggestion on EventListener

by xiaoyu1985ban » Thu Apr 16, 2009 12:09 pm

Hi! In interface Eventlistener: we can get the remoteFileName by methods: public void uploadStarted(String connId, String remoteFilename);and public void uploadCompleted(String connId, String remoteFilename).It is good when we make downloading,While I think it's better if we can get localFileName when we make uploading,espically if we want to know which local file has bee uploaded successfully.
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Suggestion on EventListener

by support2 » Mon Apr 20, 2009 9:49 pm

There's no doubt that's a good idea, but changing the interface may break a lot of people's code ...
no avatar
User

xiaoyu1985ban

Posts

30

Joined

Wed Mar 18, 2009 1:31 am

by xiaoyu1985ban » Thu Apr 23, 2009 1:15 pm

I know it ,so I suggest to to change it in your next release !
In fact I try to change make it myself, it works and seems not very difficult !
I can give you my code by mail,if you want :D
best wishes

Who is online

Users browsing this forum: No registered users and 22 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign