• FILES.BBS imports

    From nelgin@1:103/705 to Digital Man on Wed Dec 4 11:14:25 2024
    How does addfiles handle filenames with spaces? do I need to use a fixed width and specify a position for the info, escape the spaces in the filename or surround the filename in quotes or something else?

    Thanks,

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to nelgin on Wed Dec 4 11:30:50 2024
    Re: FILES.BBS imports
    By: nelgin to Digital Man on Wed Dec 04 2024 11:14 am

    How does addfiles handle filenames with spaces? do I need to use a fixed width and specify a position for the info, escape the spaces in the filename or surround the filename in quotes or something else?

    addfiles can handle filenames with spaces when added without a list, no problem. When using a list file (e.g. FILES.BBS) with filenames that contain spaces, just specifying a description offset should allow addfiles to parse the filename correctly, but I haven't tried it myself. I've never seen/tested a files.bbs that contains filenames with spaces in them, so it's possible it's still an issue (even when specifying a description offset). Quotes won't help.
    --
    digital man (rob)

    Synchronet "Real Fact" #26:
    The Synchronet Web Server was written predominantly by Stephen Hurd (Deuce) Norco, CA WX: 57.5øF, 71.0% humidity, 1 mph W wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)