Jump to content


Photo

Monitor a folder


  • Please log in to reply
22 replies to this topic

#1 hardipe

hardipe
  • Members
  • 73 posts

Posted 20 November 2008 - 05:08 PM

When adding a folder to the Monitor, make it intelligent so that i recognizes the file that actually changed and instead of uploading the whole monitored folder, make it upload only the file that was changed. This would also require the recognition of added files / deleted files [in the folder].

This would greatly simplify the Monitoring work for me. Since TrQ' saving to an .xml is either buggy or i tend to overwrite my previous project's TrQ very often(even when using Save and Save as carefully). I am also forced to open each folder separately and then select all files and manually add them to the TrQ

It would greatly ehance my coding speed.

#2 mb

mb

    Developer

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

Posted 20 November 2008 - 07:25 PM

If you believe there is a bug with our product please make a bug report.

#3 hardipe

hardipe
  • Members
  • 73 posts

Posted 21 November 2008 - 05:46 PM

there's no use reporting it when i dont have the way to reproduce it.

however, the intelligent monitoring of a folder is still a requested feature by me.

#4 mb

mb

    Developer

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

Posted 27 February 2009 - 04:47 PM

The intelligent monitoring feature is worked on.

#5 mb

mb

    Developer

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

Posted 21 March 2009 - 08:29 PM

Hello ..

Please check the latest version:
http://www.smartftp.com/download

The intelligent folder option is now on by default (and cannot be disabled). Please give a try and leave some feedback :-)

Limitations: One-Way Synchronization with Delete is currently not implemented. Is that something you need?

Thanks
Mat

#6 hardipe

hardipe
  • Members
  • 73 posts

Posted 05 April 2009 - 08:07 AM

Thanks i will check it out and let you know.

I'm really impressed.

#7 hardipe

hardipe
  • Members
  • 73 posts

Posted 05 April 2009 - 11:38 AM

i downloaded the latest Beta: 3.0.1026.27

i put a folder into Monitoring state but when i changed one file in the folder, they all started to upload. this is what it should not do when Intelligent Folder Monitoring is working.

Could you please explain, where it can be configured or read about further - how it works exactly.

#8 mb

mb

    Developer

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

Posted 05 April 2009 - 01:13 PM

The intelligent monitor works only after the item was processed at least once.

#9 hardipe

hardipe
  • Members
  • 73 posts

Posted 05 April 2009 - 02:24 PM

I tried it with a folder. Set it Monitoring, changed a file in the folder, the whole bunch uploaded(creating the folder in the remote location too, because it did not exist yet). changed the file again, then the worker tried to create the folder again - which gave an error (twice) and then the worker stopped - it did not upload the new, changed file.

the strange thing is that once i change a file in the folder, the whole folder uploads again AND another file which is not related to the tested folder also uploads itself (I was testing with an existing TrQ with some other files in it).

#10 mb

mb

    Developer

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

Posted 05 April 2009 - 03:01 PM

I cannot reproduce the problem. Please provide step by step instructions.

#11 hardipe

hardipe
  • Members
  • 73 posts

Posted 05 April 2009 - 03:24 PM

set a local folder to "Monitor" which contains at least 2 files. make sure the server does not have that folder already. when you change one of the files in the folder, the folder is created on the server and all the files in the folder are uploaded. change the file again and you'll see that the worker fails because it is trying to create the folder again on the server. if it does not fail(it did for me), it still uploads the files in the folder - but it should only upload the one file that was changed (because it was already processed once, as you said above)

#12 mb

mb

    Developer

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

Posted 05 April 2009 - 04:12 PM

Found the problem.

#13 hardipe

hardipe
  • Members
  • 73 posts

Posted 05 April 2009 - 05:36 PM

you said the Intelligent Monitor will start working once the folder has been processed at least once. Is it possible to remove this property - i'd like it to be intelligent from the beginning (if possible).

#14 mb

mb

    Developer

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

Posted 05 April 2009 - 06:08 PM

Yep it makes sense but we have to delay this for a future version of SmartFTP.

#15 mb

mb

    Developer

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

Posted 05 April 2009 - 07:38 PM

Hello ...

The new version should fix the problem you were seeing. However SmartFTP will still create the folder everytime the monitored item is triggered. This is by design and should not have any unwanted side effects.

Regards,
Mat

#16 hardipe

hardipe
  • Members
  • 73 posts

Posted 05 April 2009 - 09:33 PM

Hello ...

The new version should fix the problem you were seeing. However SmartFTP will still create the folder everytime the monitored item is triggered. This is by design and should not have any unwanted side effects.

Regards,
Mat


Yep, that be not the prob mon. Simply the worker who tried to create the folder but couldnt and then stopped the upload alltogether was the problem. I'll try the next version.

#17 mb

mb

    Developer

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

Posted 05 April 2009 - 10:57 PM

Yep this bug (crashed worker) should been fixed now.

#18 hardipe

hardipe
  • Members
  • 73 posts

Posted 07 April 2009 - 02:53 PM

Yep this bug (crashed worker) should been fixed now.

Yes, it is fixed.

You asked whether i want delete-syncing. You mean when i delete a file locally, it ain't deleted from the server, right?
This is not necessary for me. If you ever add it, make sure you make this optional, as it might have unwanted consequences :D

Anyway, thank you very much for implementing this cool feat.

What i don't like atm is the need for one processing of the whole folder before the intelligent monitor really starts to work. Seems kinda unnecessary and actually causes some problems. So if possible, that's another enhancement request by me. Thanks for the existing feature though, really cool.

Btw, my friend also intuitively tried to Monitor a folder but also discovered that all the files began to upload (before you had implemented the intelligent monitor) and was distressed by that. So, if people learn to use it now that it exists, it will save us all a lot of time - i'm a web dev, i know lol :)

#19 hardipe

hardipe
  • Members
  • 73 posts

Posted 07 April 2009 - 05:13 PM

When i close the TrQ and open it and change a file within a Monitored folder, the whole folder is uploaded again.

That's a real annoyance/bug - won't let me use the intelligent monitor until this behaviour is removed - i'll have to revert back to the old way of adding files folder by folder or one by one into the queue - so that no folders are in monitoring state, only files.

#20 hardipe

hardipe
  • Members
  • 73 posts

Posted 13 May 2009 - 09:32 PM

are you planning to remove this nuisance?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users