rejetto forum

Bug Files are lock and can't be written to during download

Guest · 10 · 5076

0 Members and 1 Guest are viewing this topic.

RJP Computing

  • Guest
I am having a problem in version 1.6+ where as I download a file it seems to lock the file. This is very bad for my use of HFS. I need to be writing to the files as they get downloaded. Can you please comment on this? I need this to work bad. I think it might have to do with an addition in 1.6 but why?


Offline Rafi

  • Tireless poster
  • ****
    • Posts: 452
    • View Profile
Maybe you can describe the situation that you need it for ?
Like - downloading a log file, that is being appended ? what if the file is being modified NOT at end of it ?


Offline RJP Computing

  • Occasional poster
  • *
    • Posts: 5
    • View Profile
    • http://www.rjpcomputing.com
Quote from: "Rafi"
Like - downloading a log file, that is being appended ? what if the file is being modified NOT at end of it ?
That is exactly what I am using it for. If it is being modified then we would just have to refresh the file download. This worked great in older versions because I used it in this fashion for a while.


Offline Rafi

  • Tireless poster
  • ****
    • Posts: 452
    • View Profile

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
i changed the line
Code: [Select]
fileopen(reply.body, fmOpenRead+fmShareDenyWrite) );in
Code: [Select]
fileopen(reply.body, fmOpenRead+fmShareDenyNone) );i'm not sure this is correct, but next 2.0 alpha release will be the opportunity to test it.
i hope this will satisfy your needs but, please, test the alpha as it is released.
to know when next alpha is released you can check the 2.0 coming topic, or just use the check for updates command (but sometimes i forget to update the last one)


Offline RJP Computing

  • Occasional poster
  • *
    • Posts: 5
    • View Profile
    • http://www.rjpcomputing.com
Quote from: "rejetto"
i changed the line
Code: [Select]
fileopen(reply.body, fmOpenRead+fmShareDenyWrite) );in
Code: [Select]
fileopen(reply.body, fmOpenRead+fmShareDenyNone) );i'm not sure this is correct, but next 2.0 alpha release will be the opportunity to test it.
That sounds good. Thanks

Quote from: "rejetto"
i hope this will satisfy your needs but, please, test the alpha as it is released.
to know when next alpha is released you can check the 2.0 coming topic, or just use the check for updates command (but sometimes i forget to update the last one)
I will try the new alpha release and let you know.


Offline RJP Computing

  • Occasional poster
  • *
    • Posts: 5
    • View Profile
    • http://www.rjpcomputing.com
OK I tested the most recent alpha 23 and it still locks the file so that I can't write to it. :cry:


Offline Rafi

  • Tireless poster
  • ****
    • Posts: 452
    • View Profile
Quote from: "RJP Computing"
OK I tested the most recent alpha 23 and it still locks the file so that I can't write to it. :cry:
The man said to wait for alfa24 ... ;)


Offline RJP Computing

  • Occasional poster
  • *
    • Posts: 5
    • View Profile
    • http://www.rjpcomputing.com
Quote from: "Rafi"
Quote from: "RJP Computing"
OK I tested the most recent alpha 23 and it still locks the file so that I can't write to it. :cry:
The man said to wait for alfa24 ... ;)
Yes I am aware of that. I was also asked to test the current alpha version too. So I did. That is all. No big deal. He already said he made the update.

Thanks


Offline RJP Computing

  • Occasional poster
  • *
    • Posts: 5
    • View Profile
    • http://www.rjpcomputing.com
The new alpha 24 release fixes this problem.

 :!:  THANKS   :!:       :^^: