• Cannot upload - "Bad filename" message

    From Codefenix@1:103/705 to All on Thursday, February 02, 2023 16:20:05
    I never bothered setting up an upload area on my board before, but decided to start working on setting one up. So I set up a directory called "Uploads" in my Main file area and gave it a path on the drive.

    Went to test a simple upload, entered "test.txt" using the (U)pload option, and I got a "Bad filename" response. I tried another filename, "test_upload_file.txt" and got the same message.

    I don't have anything set for "Extensions Allowed" for the Uploads directory, so I think that should allow anything. My file.can file only has info.zip and photo.scr in it.

    Anything else I can check?

    |01<|09co|03d|11e|15|11e|03n|09ix|01>|07

    ---
    Synchronet -=[ ConstructiveChaos BBS | conchaos.synchro.net ]=-
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Codefenix on Thursday, February 02, 2023 14:54:00
    Re: Cannot upload - "Bad filename" message
    By: Codefenix to All on Thu Feb 02 2023 04:20 pm

    I never bothered setting up an upload area on my board before, but decided to start working on setting one up. So I set up a directory called "Uploads" in my Main file area and gave it a path on the drive.

    Went to test a simple upload, entered "test.txt" using the (U)pload option, and I got a "Bad filename" response. I tried another filename, "test_upload_file.txt" and got the same message.

    I don't have anything set for "Extensions Allowed" for the Uploads directory, so I think that should allow anything. My file.can file only has info.zip and photo.scr in it.

    Anything else I can check?

    That sounds pretty strange and unexpected. The "Extensions Allowed" should not play a role in getting a "Bad filename" error. In fact, the default/stock "Uploads" directory is configured in just this way (Extensions Allowed in blank) and thus allows filenames with any (or no) extension to be uploaded.

    If there was an issue with the filename extension, you'd get a TheseFileExtsOnly error string (see text.dat for exact wording) instead.

    I tried with a fresh install to upload both of the filenames you mentioned, and others, and was able to go through the entire upload process without any error messages.

    You may want to double-check what you have set in SCFG->File Options->Allowed Filename Length. The default is 64 characters. If you set this to some low number, that could explain the error you're seeing.
    --
    digital man (rob)

    This Is Spinal Tap quote #9:
    David St. Hubbins: I mean, it's not your job to be as confused as Nigel.
    Norco, CA WX: 67.3F, 27.0% humidity, 5 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Codefenix@1:103/705 to Digital Man on Friday, February 03, 2023 08:15:25
    Re: Cannot upload - "Bad filename" message
    By: Digital Man to Codefenix on Thu Feb 02 2023 02:54 pm

    You may want to double-check what you have set in SCFG->File Options->Allowed Filename Length. The default is 64 characters. If you set this to some low number, that could explain the error you're seeing.

    That was exactly it! Mine was set to 0. I set it to 64 and it's working now. Thank you!

    Is this a somewhat recently added config option? In which case, could it be that the upgrade defaulted me to 0 if I upgraded from 3.18? Asking, because I don't recall setting this option to 0 ... although maybe I just have a bad memory.

    Thanks again!

    |01<|09co|03d|11e|15|11e|03n|09ix|01>|07

    ---
    Synchronet -=[ ConstructiveChaos BBS | conchaos.synchro.net ]=-
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Codefenix on Friday, February 03, 2023 10:27:38
    Re: Cannot upload - "Bad filename" message
    By: Codefenix to Digital Man on Fri Feb 03 2023 08:15 am

    Re: Cannot upload - "Bad filename" message
    By: Digital Man to Codefenix on Thu Feb 02 2023 02:54 pm

    You may want to double-check what you have set in SCFG->File Options->Allowed Filename Length. The default is 64 characters. If you set this to some low number, that could explain the error you're seeing.

    That was exactly it! Mine was set to 0. I set it to 64 and it's working now. Thank you!

    Is this a somewhat recently added config option? In which case, could it be that the upgrade defaulted me to 0 if I upgraded from 3.18? Asking, because I don't recall setting this option to 0 ... although maybe I just have a bad memory.

    It was a new option added in v3.19. It's possibly there's something screwy in the upgrade process from v3.18->v3.19->v3.20 (I see you're running v3.20) - but so far you're the only one to report this issue. I'll continue to test upgrade paths and see if I can reproduce this issue myself.
    --
    digital man (rob)

    Sling Blade quote #11:
    Doyle Hargraves (to Karl): What in the hell you doin' with that hammer?
    Norco, CA WX: 59.5F, 38.0% humidity, 0 mph N wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From xbit@1:103/705 to Digital Man on Friday, February 03, 2023 19:12:31
    Re: Cannot upload - "Bad filename" message
    By: Digital Man to Codefenix on Fri Feb 03 2023 10:27 am

    You may want to double-check what you have set in SCFG->File
    Options->Allowed Filename Length. The default is 64 characters. If
    It was a new option added in v3.19. It's possibly there's something screwy in the upgrade process from v3.18->v3.19->v3.20 (I see you're running v3.2

    Just fyi, i don't see that option "allowed filename length" in my production 3.19. I do see it in my test 3.20 (upgraded from 3.19) sync and this setting was also set to 0.

    ---
    Synchronet Do it @ the X: Sync: X-BIT.ORG <-> Spitfire: X-BIT.ORG:2323
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to xbit on Friday, February 03, 2023 19:37:30
    Re: Cannot upload - "Bad filename" message
    By: xbit to Digital Man on Fri Feb 03 2023 07:12 pm

    Re: Cannot upload - "Bad filename" message
    By: Digital Man to Codefenix on Fri Feb 03 2023 10:27 am

    You may want to double-check what you have set in SCFG->File
    Options->Allowed Filename Length. The default is 64 characters. If
    It was a new option added in v3.19. It's possibly there's something screwy in the upgrade process from v3.18->v3.19->v3.20 (I see you're running v3.2

    Just fyi, i don't see that option "allowed filename length" in my production 3.19. I do see it in my test 3.20 (upgraded from 3.19) sync and this setting was also set to 0.

    Okay, that's good information. Looking back now, I see this option was added in v3.19c. I'll do a little more investigation into how/why that setting be migrating as 0, but in v3.19c at least, there was logic to translate a configuration value 0 for this setting to 64.
    --
    digital man (rob)

    Rush quote #6:
    ... but most of us just dream about the things we'd like to be
    Norco, CA WX: 58.1F, 47.0% humidity, 3 mph SSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Havok@1:103/705 to Digital Man on Sunday, February 12, 2023 13:30:10
    Re: Cannot upload - "Bad filename" message
    By: Digital Man to xbit on Fri Feb 03 2023 07:37 pm


    Sorry to ask but,

    I have about 200 doors running and I think you have helped me on one or two
    and I want to thank you for that!

    But I really only play Barren Realms league games & Gutter Bowl.
    I have tried for hours to figure out what I'm doing wrong
    with Gutter Bowl to no use with gbowl16 or gbowl32, but mainly
    with gbowl16. Now mind you I have had it running on win32 but not linux and
    dosemu.

    On a side note, looking at my last post, I need to wear my reading
    glasses and two wish I would have taken my typing classes more for
    typing and not dating the girls in high school!

    Laughing but oh well!

    Thank you








    -*|04Hav|12o|04k|07*-

    ---
    Synchronet Anarchy BBS - The Villages,FL
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Havok on Sunday, February 12, 2023 14:16:40
    Re: Door help
    By: Havok to Digital Man on Sun Feb 12 2023 01:30 pm

    Sorry to ask but,

    I have about 200 doors running and I think you have helped me on one or two
    and I want to thank you for that!

    But I really only play Barren Realms league games & Gutter Bowl.
    I have tried for hours to figure out what I'm doing wrong
    with Gutter Bowl to no use with gbowl16 or gbowl32, but mainly
    with gbowl16. Now mind you I have had it running on win32 but not linux and
    dosemu.

    What's the question?
    --
    digital man (rob)

    Synchronet "Real Fact" #102:
    Alternate and loadable font support was added to Synchronet in February 2018 Norco, CA WX: 56.9F, 53.0% humidity, 8 mph SE wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Havok@1:103/705 to Digital Man on Sunday, February 12, 2023 19:09:02
    Re: Door help
    By: Digital Man to Havok on Sun Feb 12 2023 02:16 pm


    What's the question?

    Hello and thanks

    Question is does anyone here have gutter bowl working on v3.19 and a linux
    OS, I have had a few doors give me trouble but this one has me pulling what
    little hair I have out!

    I fired up my old copy of VBBS/VA and threw Gutter Bowl 3.0 up in a
    matter of 10 or 15 min. But this one really makes me feel like a noob on
    linux/unix bbs.








    -*|04Hav|12o|04k|07*-

    ---
    Synchronet Anarchy BBS - The Villages,FL
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to Havok on Monday, February 13, 2023 12:05:47
    Re: Door help
    By: Havok to Digital Man on Sun Feb 12 2023 07:09 pm

    Question is does anyone here have gutter bowl working on v3.19 and a linux OS, I have had a few doors give me trouble but this one has me pulling what little hair I have out!

    I'm running Synchronet on Linux, and I'm using dosemu2. I've tried to set up GutterBowl 3.00 (using the 16-bit executable), and it runs locally, but for some reason it immediately exits when I run it remotely as a door. For now, I've set up an older version (1.01) and that seems to work okay.

    I'm curious to do some more debugging to see why GutterBowl 3.0 is immediately exiting when I try to run it remotely.

    Nightfox

    ---
    Synchronet Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Greg Youngblood@1:123/131 to Nightfox on Monday, February 13, 2023 17:20:54
    Re: Door help
    By: Nightfox to Havok on Mon Feb 13 2023 12:05 pm



    I'm curious to do some more debugging to see why GutterBowl 3.0 is immediately exiting when I try to run it remotely.

    Hello Nightfox

    Thanks for the reply!

    I did a search for the early version and couldn't find it.
    I guess I don't feel so bad with the hours of screwing
    aorund with this door. I would like to get it running
    though I play it and I have one user that wants it also.

    Get back with me if you find anything new on it running
    in DOSEMU. I did see that in the docs he states on time
    of release of 3.0 he would also release a linux version.
    I would enjoy finding that.

    So what does the older version look like when playing?

    Thanks...
    --- SBBSecho 3.14-Linux
    * Origin: Anarchy BBS - The Villages,FL (1:123/131)
  • From Nightfox@1:103/705 to Greg Youngblood on Monday, February 13, 2023 15:24:41
    Re: Gutter Bowl 3.0
    By: Greg Youngblood to Nightfox on Mon Feb 13 2023 05:20 pm

    I'm curious to do some more debugging to see why GutterBowl 3.0 is
    immediately exiting when I try to run it remotely.

    Hello Nightfox

    I did a search for the early version and couldn't find it.
    I guess I don't feel so bad with the hours of screwing
    aorund with this door. I would like to get it running
    though I play it and I have one user that wants it also.

    I think I had gotten the older version from archives.thebbs.org. I've made it available on my BBS to download:
    https://bit.ly/3Il8nCE

    Full link: http://digitaldistortionbbs.com/api/files.ssjs?call=download-file&dir=bbsfile_d osbbsdg&file=GB_V101.ZIP

    in DOSEMU. I did see that in the docs he states on time
    of release of 3.0 he would also release a linux version.
    I would enjoy finding that.

    Yeah, I'd be interested in knowing if there is a Linux version of GutterBowl.

    So what does the older version look like when playing?

    I actually haven't played it a whole lot. I used to have my BBS running in Windows, but I never did play GutterBowl 3.0 much, so I can't really compare.

    Nightfox

    ---
    Synchronet Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Havok@1:103/705 to Nightfox on Monday, February 13, 2023 19:11:17
    Re: Gutter Bowl 3.0
    By: Nightfox to Greg Youngblood on Mon Feb 13 2023 03:24 pm

    Yeah, I'd be interested in knowing if there is a Linux version of GutterBowl.

    I found the older Gutbowl and of course 5 min later running, what made
    me happy was the key gen for 3.0 seemed to work for the older game, wow!

    I guess I'm going to do some deep searching for why 3.0 will not work
    with dosemu2 and find out if a linux version was ever made.

    Hay, thank you!


    -*|04Hav|12o|04k|07*-

    ---
    Synchronet Anarchy BBS - The Villages,FL
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Havok@1:103/705 to Nightfox on Monday, February 20, 2023 22:00:24
    Re: Door help
    By: Nightfox to Havok on Mon Feb 13 2023 12:05 pm


    Hello

    If you would tell me the upside of running doseemu2 over dosemu?

    I see you can build it yourself, I was hoping for the real easy
    way out of just installing it by .deb.

    But anyway I would like to know about the upside.

    Thanks...


    -*|04Hav|12o|04k|07*-

    ---
    Synchronet Anarchy BBS - The Villages,FL
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to Havok on Tuesday, February 21, 2023 09:37:27
    Re: dosemu2
    By: Havok to Nightfox on Mon Feb 20 2023 10:00 pm

    If you would tell me the upside of running doseemu2 over dosemu?

    TradeWars 2002 works with dosemu2.
    TradeWars 2002 doesn't seem to work with dosemu 1.x.

    I see you can build it yourself, I was hoping for the real easy
    way out of just installing it by .deb.

    You can also install dosemu2 via your package manager.

    Nightfox

    ---
    Synchronet Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Greg Youngblood@1:123/131 to Nightfox on Tuesday, February 21, 2023 18:21:46
    Re: dosemu2
    By: Nightfox to Havok on Tue Feb 21 2023 09:37 am

    You can also install dosemu2 via your package manager.

    Wow now I'll glad I wrote you, looks like I got something more to do
    tomorrow!

    Thanks, your always a big help!
    --- SBBSecho 3.14-Linux
    * Origin: Anarchy BBS - The Villages,FL (1:123/131)
  • From Nightfox@1:103/705 to Greg Youngblood on Tuesday, February 21, 2023 17:11:01
    Re: dosemu2
    By: Greg Youngblood to Nightfox on Tue Feb 21 2023 06:21 pm

    Wow now I'll glad I wrote you, looks like I got something more to do tomorrow!

    There's a page on the Synchronet wiki with some tips on setting up dosemu2 with Synchronet:
    http://wiki.synchro.net/howto:dosemu2

    Nightfox

    ---
    Synchronet Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Greg Youngblood@1:123/131 to Nightfox on Tuesday, February 21, 2023 21:22:55
    Re: dosemu2
    By: Nightfox to Greg Youngblood on Tue Feb 21 2023 05:11 pm

    There's a page on the Synchronet wiki with some tips on setting up dosemu2 with Synchronet:
    http://wiki.synchro.net/howto:dosemu2

    Hello Nightfox

    That will help, thanks for the information!
    --- SBBSecho 3.14-Linux
    * Origin: Anarchy BBS - The Villages,FL (1:123/131)
  • From Havok@1:103/705 to Nightfox on Wednesday, February 22, 2023 04:39:36
    Re: dosemu2
    By: Nightfox to Greg Youngblood on Tue Feb 21 2023 05:11 pm

    There's a page on the Synchronet wiki with some tips on setting up dosemu2 with Synchronet:
    http://wiki.synchro.net/howto:dosemu2

    Thanks I'm glad you enjoy reading!
    Every little bit helps...


    -*|04Hav|12o|04k|07*-

    ---
    Synchronet Anarchy BBS - The Villages,FL
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Ragnarok@1:103/705 to Nightfox on Thursday, February 23, 2023 11:39:01
    El 13/2/23 a las 17:05, Nightfox escribió:
    Re: Door help
    By: Havok to Digital Man on Sun Feb 12 2023 07:09 pm

    Ha> Question is does anyone here have gutter bowl working on v3.19 and a linux
    Ha> OS, I have had a few doors give me trouble but this one has me pulling
    Ha> what little hair I have out!

    I'm running Synchronet on Linux, and I'm using dosemu2. I've tried to set up GutterBowl 3.00 (using the 16-bit executable), and it runs locally, but for some reason it immediately exits when I run it remotely as a door. For now, I've set up an older version (1.01) and that seems to work okay.

    I'm curious to do some more debugging to see why GutterBowl 3.0 is immediately exiting when I try to run it remotely.


    Same here.. old version 1.01 runs fine on dosemu2 on debian

    ---
    ■ Synchronet ■ Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Ragnarok@1:103/705 to Havok on Thursday, February 23, 2023 12:11:28
    El 13/2/23 a las 21:11, Havok escribió:
    Re: Gutter Bowl 3.0
    By: Nightfox to Greg Youngblood on Mon Feb 13 2023 03:24 pm

    Ni> Yeah, I'd be interested in knowing if there is a Linux version of
    Ni> GutterBowl.

    I found the older Gutbowl and of course 5 min later running, what made
    me happy was the key gen for 3.0 seemed to work for the older game, wow!



    Where can i find v3.0? I'm curious to make it work in dosemu2

    ---
    ■ Synchronet ■ Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Greg Youngblood@1:123/131 to Ragnarok on Saturday, February 25, 2023 18:19:23
    Re: Re: Gutter Bowl 3.0
    By: Ragnarok to Havok on Thu Feb 23 2023 12:11 pm

    Where can i find v3.0? I'm curious to make it work in dosemu2

    I have it on the board here, anarchybbs.com
    If you aready found it, keep in touch I'd be interested if you
    got it running on dosem2.

    Thanks...
    --- SBBSecho 3.14-Linux
    * Origin: Anarchy BBS - The Villages,FL (1:123/131)
  • From Havok@1:103/705 to Ragnarok on Saturday, February 25, 2023 18:25:20
    Re: Re: Gutter Bowl 3.0
    By: Ragnarok to Havok on Thu Feb 23 2023 12:11 pm

    Where can i find v3.0? I'm curious to make it work in dosemu2

    I have it on the board here, anarchybbs.com:2332
    If you aready found it, keep in touch I'd be interested if you
    got it running on dosem2.


    -*|04Hav|12o|04k|07*-

    ---
    Synchronet Anarchy BBS - The Villages,FL
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Havok@1:103/705 to Nightfox on Sunday, February 26, 2023 18:34:03
    Re: dosemu2
    By: Nightfox to Greg Youngblood on Tue Feb 21 2023 05:11 pm


    Hello

    Laughing now I'm really confused I did a fresh install of Mystic with
    the same version dosemu and Gutter Bowl works. Not what I wanted to
    see being I want it to run on this board.

    I thought before today ok so it wont run on dosemu but now don't really
    know what to think. Going to have to try looking at it more.

    Just today's thinking.




    -*|04Hav|12o|04k|07*-

    ---
    Synchronet Anarchy BBS - The Villages,FL
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to Havok on Monday, February 27, 2023 10:39:35
    Re: dosemu
    By: Havok to Nightfox on Sun Feb 26 2023 06:34 pm

    Laughing now I'm really confused I did a fresh install of Mystic with
    the same version dosemu and Gutter Bowl works. Not what I wanted to
    see being I want it to run on this board.

    I thought before today ok so it wont run on dosemu but now don't really know what to think. Going to have to try looking at it more.

    Is that version 3.0 of GutterBowl? Interesting.. So it may be a Synchronet issue causing GutterBowl 3.0 not to run? It would be interseting to try to debug that some more. One thing to do would be to redirect the GutterBowl output to a file, so if it ouptuts any erors, hopefully you can catch the errors. Also, I think Synchronet outputs log files when it runs programs via dosemu(?) - so that might be something to check as well.

    Nightfox

    ---
    Synchronet Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Greg Youngblood@1:123/131 to Nightfox on Monday, February 27, 2023 17:30:49
    Re: dosemu
    By: Nightfox to Havok on Mon Feb 27 2023 10:39 am

    Is that version 3.0 of GutterBowl? Interesting.. So it may be a Synchronet issue causing GutterBowl 3.0 not to run? It would be interseting to try to debug that some more. One thing to do would be to redirect the GutterBowl output to a file, so if it ouptuts any erors, hopefully you can catch the errors. Also, I think Synchronet outputs log files when it runs programs via dosemu(?) - so that might be something to check as well.

    Hello!

    Yes I was shocked to see it run on Mystic, maybe not shocked more like
    p*ssed.

    I'll have to play with it more and yes a release of 3.0!

    That for the reply...
    --- SBBSecho 3.14-Linux
    * Origin: Anarchy BBS - The Villages,FL (1:123/131)