> > Synchronet version - 3.20
> > OS - linux
> > I am trying to add files from a CD. When I run addfiles with the following
> > command line:
> > ./exec/jsexec addfiles area +/path/to/filelist/listname 33 15
> > I get the following error:
> > !/path/where/files/are/listname does not exist
> > So it is looking for the right 'listname' but in the path where the files
> > are instead of the path where the filelists are (which is the one I am
> > giving it).
> It looks like you're trying to use the addfiles.exe syntax with addfiles.js,
> e.g. there's no '+' in any addfiles.js option syntax. See https://wiki.synchro
> et/module:addfiles for details.
I also tried it without the plus and got the exact same error.
I tried it again just now, without the plus, and still get the error.
./exec/jsexec addfiles area /path/to/filelist/listname 33 15
JSexec v3.20a-Linux master/95ae0137d - Execute Synchronet JavaScript Module
Compiled Mar 1 2024 10:42:22 with GCC 12.2.0
Loading configuration files from /home/bbs/ctrl
JavaScript-C 1.8.5 2011-03-31
JavaScript: Creating runtime: 8388608 bytes
Reading script from /home/bbs/exec/addfiles.js
/home/bbs/exec/addfiles.js compiled in 0.00 seconds
Adding files to Nightowl NOPV-2 ASP Member Submissions
!/path/to/filearea/listname does not exist
0 files added
/home/bbs/exec/addfiles.js executed in 0.55 seconds
JavaScript: Destroying context
JavaScript: Destroying runtime
It knows enough to pick up the listname but then uses the path where the
filearea is (the wrong one) instead of the one I am giving it (the path on
the CD where the listname is).
FWIW, yesterday when I first had the error I was taking the commands I was using
directly from that wiki page. As it appeared yesterday, it still had
the '+' syntax in the examples as I copied and pasted it from the page.
* SLMR 2.1a * He's as sharp as a marble.
---
■ Synchronet ■ CAPCITY2 * capcity2.synchro.net * Telnet/SSH:2022/Rlogin/HTTP
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
|