Page 1 of 1
Read-only files after FTP download
Posted: Thu Oct 26, 2023 1:19 pm
by deburen
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
Re: Read-only files after FTP download
Posted: Thu Oct 26, 2023 3:54 pm
by emcodem
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:
Re: Read-only files after FTP download
Posted: Thu Oct 26, 2023 5:20 pm
by admin
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
Re: Read-only files after FTP download
Posted: Fri Oct 27, 2023 5:47 pm
by deburen
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:
Hi emcodem,
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
Posted: Fri Oct 27, 2023 9:57 pm
by emcodem
Super, thanks for letting us know that it works for you!