Skip to content

postfile.js should allow duplicates

I need to add a file to 2 file areas, one "local" and other "networked" fix tic/ftn

I have to upload a file to both areas and then I regenerate it and have to overwrite it

/sbbs/exec/jsexec postfile fidoz4daily zone4.341 "Z4 Daily Nodelist bla" Ragnarok
/sbbs/exec/jsexec postfile fidozsegs zone4.341 "Z4 Nodelist bla" Ragnarok
!File 'zone4.341' already added.
!Module (postfile) set exit_code: 1

What would be the best option?

  • Any chance that postfile can replace the current one (adding new option like -replace) ?
  • Should I delete it first?
  • Or could I use addfiles in this case?

I know this creates a duplicate in my file database, but for now it is something desired. Thanks!