#4023 Canceled transfers added in Successfull transfers list

Moderator: Project members

Post Reply
Message
Author
brunoramos
500 Command not understood
Posts: 5
Joined: 2013-09-29 19:26
First name: Bruno
Last name: Ramos

#4023 Canceled transfers added in Successfull transfers list

#1 Post by brunoramos » 2014-09-14 20:05

Hello,

I'm taking a look at ticket #4023 Canceled transfers added in Successfull transfers list.

I would like some input regarding possible improvements to the way skipped/canceled are managed.

Do you agree that it makes sense to add the Canceled/Skipped transfers to the failed transfers list?

I have an almost working solution with:
  • Skipped transfers added to failed transfer list with Reason "Transfer skipped by the user"
  • Canceled transfers added to failed transfer list with Reason "Transfer canceled by the user"
Technically the skipped/canceled transfers are being handled with a FZ_REPLY_OK at the moment, and that is what is causing them to be added to the successful list.
I was thinking of adding a new error code FZ_REPLY_SKIPPED (right after FZ_REPLY_CANCELED in commands.h).
And also add the corresponding code to manage both the new error core and at the same time properly manage FZ_REPLY_CANCELED when the user clicks Cancel.

Do you agree with the new error code? FZ_REPLY_SKIPPED or do you have some other suggestion?
And do you think of something else related to this that would be good to change at the same time?

Thank you.

User avatar
botg
Site Admin
Posts: 35558
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: #4023 Canceled transfers added in Successfull transfers

#2 Post by botg » 2014-09-15 07:31

I disagree. Putting skipped transfers into the failed transfers queue makes it difficult to distinguish intentionally skipped transfers from actual failures.

The successful and skipped transfers are largely irrelevant, could just as well not display them at all as everything worked as intended.

A failed transfer on the other hand is something the user must actively act upon.

brunoramos
500 Command not understood
Posts: 5
Joined: 2013-09-29 19:26
First name: Bruno
Last name: Ramos

Re: #4023 Canceled transfers added in Successfull transfers

#3 Post by brunoramos » 2014-09-15 18:08

botg wrote:I disagree. Putting skipped transfers into the failed transfers queue makes it difficult to distinguish intentionally skipped transfers from actual failures.

The successful and skipped transfers are largely irrelevant, could just as well not display them at all as everything worked as intended.

A failed transfer on the other hand is something the user must actively act upon.
Makes sense to me.

My initial doubts regarding the best way to handle this were at the base of my request for a second opinion.

So, can I prepare the patch to ignore the canceled/skipped transfers and not add them to the success list?

User avatar
botg
Site Admin
Posts: 35558
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: #4023 Canceled transfers added in Successfull transfers

#4 Post by botg » 2014-09-16 07:53

Sure, proceed.

There's already a checkbox in the successful queue tab's context menu to remove successful transfers. The new option would fit there.

brunoramos
500 Command not understood
Posts: 5
Joined: 2013-09-29 19:26
First name: Bruno
Last name: Ramos

Re: #4023 Canceled transfers added in Successfull transfers

#5 Post by brunoramos » 2014-09-16 21:21

Just adding a message to keep track of the quick discussion on IRC.

The idea is to modify the right click menu on the "Successful transfers list" to have the following option:
  • Automatically remove successful transfers
    (This is the existing option that will remove all transfers automatically from the list)
  • Automatically remove canceled/skipped transfers only
    (This new option will remove only the canceled/skipped transfers automatically from the list)
  • Do not remove transfers automatically from the list
    (This new option will be the default and will not not remove transfers automatically from the list)


These options will be mutually exclusive and the default behavior is to be kept as it is currently, meaning nothing removed automatically.

User avatar
boco
Contributor
Posts: 26934
Joined: 2006-05-01 03:28
Location: Germany

Re: #4023 Canceled transfers added in Successfull transfers

#6 Post by boco » 2014-09-18 21:36

Would it be possible (after queue finished) to put a state message into the log?

Code: Select all

Transfer completed, 1337 queue items skipped due to Overwrite rules.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

User avatar
botg
Site Admin
Posts: 35558
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: #4023 Canceled transfers added in Successfull transfers

#7 Post by botg » 2014-09-19 07:23

Possible yes. Though currently no such information is being tracked.

Also, how to react to things like pausing the queue, or adding/removing items?

User avatar
boco
Contributor
Posts: 26934
Joined: 2006-05-01 03:28
Location: Germany

Re: #4023 Canceled transfers added in Successfull transfers

#8 Post by boco » 2014-09-20 07:27

Skipped items are sitting between chairs - they are neither successfully transferred items (as nothing has actually transferred), but they aren't failed ones at the same time. Ultimately they'd need their own tab. :?
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

User avatar
botg
Site Admin
Posts: 35558
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: #4023 Canceled transfers added in Successfull transfers

#9 Post by botg » 2014-09-20 08:23

Skipped items are sitting between chairs [...] Ultimately they'd need their own tab. :?
You could use the same argument for resumed transfers as opposed to complete transfers.

Three queue tabs is enough already. It's two more tabs than most programs already :)

User avatar
boco
Contributor
Posts: 26934
Joined: 2006-05-01 03:28
Location: Germany

Re: #4023 Canceled transfers added in Successfull transfers

#10 Post by boco » 2014-09-20 17:10

I could only imagine one other way, putting skipped items into the Successful tab but with a different color (light gray or the like). Resumed transfers could get a different color as well.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

brunoramos
500 Command not understood
Posts: 5
Joined: 2013-09-29 19:26
First name: Bruno
Last name: Ramos

Re: #4023 Canceled transfers added in Successfull transfers

#11 Post by brunoramos » 2014-09-23 19:27

boco wrote:I could only imagine one other way, putting skipped items into the Successful tab but with a different color (light gray or the like). Resumed transfers could get a different color as well.
I thought about something like that also.
A status like you have for failed messages "Reason", where you could add a small description with information regarding the transfer.

Post Reply