Jump to content


Photo

TQ duplicates


  • Please log in to reply
7 replies to this topic

#1 hardipe

hardipe
  • Members
  • 73 posts

Posted 09 November 2008 - 10:41 AM

Possibility for the TQ to automatically ignore duplicate files added into it. sometimes i add a bunch of files to the TQ and Monitor them and sometimes i get 2 files that are identical and try to transfer themselves simultaneously, as they should. rooting these out should be automatic or configurable

#2 mb

mb

    Developer

  • Administrators
  • 11527 posts
  • Gender:
    Male
  • Location:
    Worldwide

Posted 11 November 2008 - 02:38 AM

Implemented in the latest version:
http://www.smartftp....et/SFTPBeta.exe

#3 hardipe

hardipe
  • Members
  • 73 posts

Posted 16 November 2008 - 03:42 PM

thanks for taking the feature requests into account.

how does it work though?

#4 mb

mb

    Developer

  • Administrators
  • 11527 posts
  • Gender:
    Male
  • Location:
    Worldwide

Posted 16 November 2008 - 03:42 PM

No duplicates are added.

#5 hardipe

hardipe
  • Members
  • 73 posts

Posted 16 November 2008 - 03:47 PM

i put the TQ on pause. added 3x the same file to transfer and then released it - didnt remove any duplicates. i also tried saving the TQ and then opened it from the file - it saved all duplicates too.

could you be more specific? like an example?

#6 mb

mb

    Developer

  • Administrators
  • 11527 posts
  • Gender:
    Male
  • Location:
    Worldwide

Posted 16 November 2008 - 03:50 PM

The way it is designed is like this:
1. Each item in the transfer queue has an unique id
2. When you save your transfer queue with the Copy To... function all the items will be copied to the new file
2. If you add this file (Add function) SmartFTP checks if there are already items with the same id in the existing transfer queue. In this case these items (duplicates) will not be added.

If you believe there is a problem please provide detailed instructions on how to reproduce it.

#7 hardipe

hardipe
  • Members
  • 73 posts

Posted 16 November 2008 - 04:26 PM

The way you described it works very well.

But what i wanted as a feature is this:
0. pause the queue
1. Add a file to the TrQ
2. Add the same file again
3. Monitor these files
4. start the queue

when i change the file, both files want to upload themselves simultaneously.
This could be a feautre in some scenarios, but maybe you could create a button which removes duplicate local files - so it could be pressed at any time and it purges the TrQ of same local files or same remote files. Doing this purgin automatically would be annoying in some cases - so a button would be great. This is very low prio though - rooting the duplicates out manually is rare and rather quick

#8 mb

mb

    Developer

  • Administrators
  • 11527 posts
  • Gender:
    Male
  • Location:
    Worldwide

Posted 16 November 2008 - 04:30 PM

I do not think an additional feature (or button) is justified for such a special case. To workaround the problem make sure that the two items that are equal have the same id. This way only one will be added.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users