Hi,
when we use the FTP Monitor processor, all the downloaded files become read-only.
I can't seem to find a way to disable this. Does anyone know a solution for this?
Many thanks
A FFAStrans newbie
Read-only files after FTP download
Re: Read-only files after FTP download
Hi deburen,
welcome to the forum and thank you for using FFAStrans
Thats really strange, it is not something that ffastrans does itself i assume.
Can you share your workflow? Is it like you just deliver the file using the deliver processor and the final target file is readonly?´
You might possibly get away with a commandline processor removing the readonly flag after delivery and do like:
welcome to the forum and thank you for using FFAStrans
Thats really strange, it is not something that ffastrans does itself i assume.
Can you share your workflow? Is it like you just deliver the file using the deliver processor and the final target file is readonly?´
You might possibly get away with a commandline processor removing the readonly flag after delivery and do like:
Code: Select all
cmd /C "attrib -r "%s_source%""
emcodem, wrapping since 2009 you got the rhyme?
Re: Read-only files after FTP download
Hi deburen,
It's not explicityly set by FFAStrans but it's probably the windows api function doing it. For the next release we can add a step in the FTP monitor where attributes is reset after downloading. Meanwhile try @emcodems suggestion.
Thanks for reporting!
-steinar
It's not explicityly set by FFAStrans but it's probably the windows api function doing it. For the next release we can add a step in the FTP monitor where attributes is reset after downloading. Meanwhile try @emcodems suggestion.
Thanks for reporting!
-steinar
Re: Read-only files after FTP download
Hi emcodem,emcodem wrote: ↑Thu Oct 26, 2023 3:54 pm Hi deburen,
welcome to the forum and thank you for using FFAStrans
Thats really strange, it is not something that ffastrans does itself i assume.
Can you share your workflow? Is it like you just deliver the file using the deliver processor and the final target file is readonly?´
You might possibly get away with a commandline processor removing the readonly flag after delivery and do like:Code: Select all
cmd /C "attrib -r "%s_source%""
thanks. That's the solution I needed . I already tried the attrib command but forgot the correct quotation marks.
Workflow is like you described. Just a delivery processor right after the FTP Monitor
Re: Read-only files after FTP download
Super, thanks for letting us know that it works for you!
emcodem, wrapping since 2009 you got the rhyme?