Subj : Re: addfiles error To : Dumas Walker From : Gamgee Date : Fri Mar 22 2024 13:00:00 -=> Dumas Walker wrote to DIGITAL MAN <=- > > 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. DW> I also tried it without the plus and got the exact same error. DW> I tried it again just now, without the plus, and still get the DW> error. DW> ./exec/jsexec addfiles area /path/to/filelist/listname 33 15 DW> JSexec v3.20a-Linux master/95ae0137d - Execute Synchronet DW> JavaScript Module Compiled Mar 1 2024 10:42:22 with GCC 12.2.0 DW> Loading configuration files from /home/bbs/ctrl DW> JavaScript-C 1.8.5 2011-03-31 DW> JavaScript: Creating runtime: 8388608 bytes DW> Reading script from /home/bbs/exec/addfiles.js DW> /home/bbs/exec/addfiles.js compiled in 0.00 seconds DW> Adding files to Nightowl NOPV-2 ASP Member Submissions DW> !/path/to/filearea/listname does not exist DW> 0 files added DW> /home/bbs/exec/addfiles.js executed in 0.55 seconds DW> JavaScript: Destroying context DW> JavaScript: Destroying runtime DW> It knows enough to pick up the listname but then uses the path DW> where the filearea is (the wrong one) instead of the one I am DW> giving it (the path on the CD where the listname is). DW> FWIW, yesterday when I first had the error I was taking the DW> commands I was using directly from that wiki page. As it DW> appeared yesterday, it still had the '+' syntax in the examples DW> as I copied and pasted it from the page. You're using the command line syntax from the 'EXE' version of ADDFILES. That page is still there on the Wiki, but there is another page/instructions for the 'JS' version of addfiles, which is the one you should be using. Look and read carefully, they are not the same. .... He does the work of 3 Men...Moe, Larry & Curly --- MultiMail/Linux v0.52 þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .