• Uploading Files with long file names.

    From Electrosys@1:103/705 to All on Thursday, May 07, 2020 17:50:25
    I'm still having some trouble uplaoding two different files with different names that have long file names, e.g.

    test_eight_1.txt
    test_eight_2.txt

    When I upload these files to vert, the short name is resolved to TEST_E~D.txt and TEST_E~E.txt. But when I upload these files to my bbs they both resolve to TEST_E~1.txt

    What command can I run to see what lfn is being returned by windows?

    Can someone share their sexyz config to see if that is my problem?

    Im running the board on a Windows10 vm.

    Also, how do I see the values that are being returned by SBBS for example. %p path and %f file name?

    Thanks,
    Electrosys
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Electrosys on Thursday, May 07, 2020 21:11:42
    Re: Uploading Files with long file names.
    By: Electrosys to All on Thu May 07 2020 05:50 pm

    I'm still having some trouble uplaoding two different files with different names that have long file names, e.g.

    test_eight_1.txt
    test_eight_2.txt

    When I upload these files to vert, the short name is resolved to TEST_E~D.txt and TEST_E~E.txt. But when I upload these files to my bbs they both resolve to TEST_E~1.txt

    How are you uploading them?

    What command can I run to see what lfn is being returned by windows?

    "dir /x"

    Can someone share their sexyz config to see if that is my problem?

    Mnemonic (Command Key) Z
    Protocol Name Zmodem (SEXYZ)
    Access Requirements
    Upload Command Line %!sexyz%. %h -%p rz %f
    Download Command Line %!sexyz%. %h -%p sz %f
    Batch Upload Command Line %!sexyz%. %h -%p rz %g
    Batch Download Command Line %!sexyz%. %h -%p sz +%f
    Bi-dir Command Line
    Native (32-bit) Executable Yes
    Supports DSZLOG Yes
    Socket I/O Yes

    Im running the board on a Windows10 vm.

    Also, how do I see the values that are being returned by SBBS for example. %p path and %f file name?

    The terminal server log output, (perhaps debug-log level messages) will log the
    command executed.

    digital man

    This Is Spinal Tap quote #21:
    So when you're playing you feel like a preserved moose on stage?
    Norco, CA WX: 73.2F, 48.0% humidity, 1 mph SSE wind, 0.00 inches rain/24hrs --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Electrosys@1:103/705 to Digital Man on Saturday, May 09, 2020 06:58:46
    Re: Uploading Files with long file names.
    By: Digital Man to Electrosys on Thu May 07 2020 09:11 pm


    test_eight_1.txt
    test_eight_2.txt

    When I upload these files to vert, the short name is resolved to
    TEST_E~D.txt and TEST_E~E.txt. But when I upload these files to my bbs
    they both resolve to TEST_E~1.txt

    How are you uploading them?

    In this case I'm uploading these files using the "Batch Upload" menu which does
    a blind upload.

    When I use addfiles I can add the files ok its just when I upload the files via
    telnet or ftp that I have a problem.

    Thanks,
    Electrosys
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Electrosys on Saturday, May 09, 2020 12:26:38
    Re: Uploading Files with long file names.
    By: Electrosys to Digital Man on Sat May 09 2020 06:58 am

    Re: Uploading Files with long file names.
    By: Digital Man to Electrosys on Thu May 07 2020 09:11 pm


    test_eight_1.txt
    test_eight_2.txt

    When I upload these files to vert, the short name is resolved to
    TEST_E~D.txt and TEST_E~E.txt. But when I upload these files to my bbs
    they both resolve to TEST_E~1.txt

    How are you uploading them?

    In this case I'm uploading these files using the "Batch Upload" menu which does a blind upload.

    When I use addfiles I can add the files ok its just when I upload the files via telnet or ftp that I have a problem.

    It's possibly a bug. If you uplod the files one at a time do you have the same issue?

    digital man

    Sling Blade quote #25:
    Karl: they seen fit to put me in here and here I've been a great long while. Norco, CA WX: 78.0F, 59.0% humidity, 7 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Electrosys@1:103/705 to Digital Man on Sunday, May 10, 2020 12:46:04
    Re: Uploading Files with long file names.
    By: Digital Man to Electrosys on Sat May 09 2020 12:26 pm


    It's possibly a bug. If you uplod the files one at a time do you have the same issue?

    Yes, I usually do upload the files one at a time. I haven't been able to get the lfn working as expected when doing blind uploads.

    Thanks,
    Electrosys
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Electrosys on Sunday, May 10, 2020 13:46:58
    Re: Uploading Files with long file names.
    By: Electrosys to Digital Man on Sun May 10 2020 12:46 pm

    Re: Uploading Files with long file names.
    By: Digital Man to Electrosys on Sat May 09 2020 12:26 pm


    It's possibly a bug. If you uplod the files one at a time do you have the same issue?

    Yes, I usually do upload the files one at a time. I haven't been able to get the lfn working as expected when doing blind uploads.

    You also stated you had a problem with ftp-uploads?

    digital man

    Synchronet/BBS Terminology Definition #23:
    DSL = Digital Subscriber Line
    Norco, CA WX: 77.5F, 62.0% humidity, 10 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Electrosys@1:103/705 to Digital Man on Monday, May 11, 2020 19:16:34
    Re: Uploading Files with long file names.
    By: Digital Man to Electrosys on Sun May 10 2020 01:46 pm


    Yes, I usually do upload the files one at a time. I haven't been able
    to get the lfn working as expected when doing blind uploads.

    With FTP I am actually unable to upload anyfiles, so my problem with the FTP may be unrelated.

    Command:STOR eight.the
    Response:150 Opening BINARY mode data connection for file transfer. Error:GnuTLS error -15 in gnutls_record_recv: An unexpected TLS packet was received.
    Error:Could not read from socket: ECONNABORTED - Connection aborted Error:Disconnected from server
    Error:File transfer failed

    Do any of these FTP errors seem obvious to anyone? I'm running filezilla on fedora.


    Thanks,
    Electrosys
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Electrosys on Monday, May 11, 2020 21:04:28
    Re: Uploading Files with long file names.
    By: Electrosys to Digital Man on Mon May 11 2020 07:16 pm

    Re: Uploading Files with long file names.
    By: Digital Man to Electrosys on Sun May 10 2020 01:46 pm


    Yes, I usually do upload the files one at a time. I haven't been able
    to get the lfn working as expected when doing blind uploads.

    With FTP I am actually unable to upload anyfiles, so my problem with the FTP may be unrelated.

    Command:STOR eight.the
    Response:150 Opening BINARY mode data connection for file transfer. Error:GnuTLS error -15 in gnutls_record_recv: An unexpected TLS packet was received.
    Error:Could not read from socket: ECONNABORTED - Connection aborted Error:Disconnected from server
    Error:File transfer failed

    Do any of these FTP errors seem obvious to anyone? I'm running filezilla on fedora.

    That's FTPS, not FTP. Maybe try disabling TLS/SSL support in filezilla?

    digital man

    Synchronet "Real Fact" #40:
    Synchronet has been ported to FreeBSD, NetBSD, OpenBSD, Solaris, QNX, and MacOS.
    Norco, CA WX: 60.1F, 80.0% humidity, 8 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Electrosys@1:103/705 to Digital Man on Tuesday, May 12, 2020 06:26:26
    Re: Uploading Files with long file names.
    By: Digital Man to Electrosys on Mon May 11 2020 09:04 pm


    That's FTPS, not FTP. Maybe try disabling TLS/SSL support in filezilla?

    I'll give it a shot. Does SBBS support SFTP?

    Thanks,
    Electrosys
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Electrosys on Tuesday, May 12, 2020 09:06:45
    Re: Uploading Files with long file names.
    By: Electrosys to Digital Man on Tue May 12 2020 06:26 am

    Re: Uploading Files with long file names.
    By: Digital Man to Electrosys on Mon May 11 2020 09:04 pm


    That's FTPS, not FTP. Maybe try disabling TLS/SSL support in filezilla?

    I'll give it a shot. Does SBBS support SFTP?

    Nope. It does support FTPS however that doesn't seem to be working for you.

    digital man

    This Is Spinal Tap quote #5:
    Nigel Tufnel: Authorities said... best leave it... unsolved.
    Norco, CA WX: 61.1F, 81.0% humidity, 0 mph WNW wind, 0.00 inches rain/24hrs --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Electrosys@1:103/705 to Digital Man on Tuesday, May 12, 2020 13:13:28
    Re: Uploading Files with long file names.
    By: Digital Man to Electrosys on Tue May 12 2020 09:06 am


    That's FTPS, not FTP. Maybe try disabling TLS/SSL support in
    filezilla?

    I'll give it a shot. Does SBBS support SFTP?

    With TLS/SSL disabled I am able to transfer two files with the same first eight
    chars.

    EIGHTC~1.TXT K 28B eightchars_1.txt
    EIGHTC~2.TXT L 23B eightchars_2.txt

    Any insights as to why when blind uploading the second file it resolves to EIGHTC~1 also and errors with "file exists", but with FTP it works ok?

    Thanks,
    Electrosys
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Electrosys on Tuesday, May 12, 2020 18:49:22
    Re: Uploading Files with long file names.
    By: Electrosys to Digital Man on Tue May 12 2020 01:13 pm

    Re: Uploading Files with long file names.
    By: Digital Man to Electrosys on Tue May 12 2020 09:06 am


    That's FTPS, not FTP. Maybe try disabling TLS/SSL support in
    filezilla?

    I'll give it a shot. Does SBBS support SFTP?

    With TLS/SSL disabled I am able to transfer two files with the same first eight chars.

    EIGHTC~1.TXT K 28B eightchars_1.txt
    EIGHTC~2.TXT L 23B eightchars_2.txt

    Any insights as to why when blind uploading the second file it resolves to EIGHTC~1 also and errors with "file exists", but with FTP it works ok?

    The reason is because when you blind-upload to the BBS, its receiving the files
    into a temp directory and moves each received file, one at a time, to the uploads directory and Windows is changing the short-name of the file when it moves it. Try setting the "Search for Duplicates" option for the Blind Uploads directory to "No" in SCFG->File Areas.

    digital man

    Synchronet "Real Fact" #5:
    Synchronet version 3 for Win32 development began in 1999.
    Norco, CA WX: 64.8F, 72.0% humidity, 8 mph NNE wind, 0.00 inches rain/24hrs --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Electrosys@1:103/705 to Digital Man on Wednesday, May 13, 2020 12:01:33
    Re: Uploading Files with long file names.
    By: Digital Man to Electrosys on Tue May 12 2020 06:49 pm


    The reason is because when you blind-upload to the BBS, its receiving the files into a temp directory and moves each received file, one at a time, to the uploads directory and Windows is changing the short-name of the file when it moves it. Try setting the "Search for Duplicates" option for the Blind Uploads directory to "No" in SCFG->File Areas.

    I have updated the uploads dir setting to No for "Search for Duplicates" this seems to help but I'm not getting the behavior I would expect.

    When I upload the second file I get an error

    !ERROR checking EIGHT3~1.TXT

    The sysop has been notified.

    The file is physically uploaded to the upload dir, but the second file isn't listed in the terminal server file system, only the first file is displayed in the file listing.

    Any ideas as to why the second file doesn't show up in the listing?

    Thanks,
    Electrosys
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Electrosys on Wednesday, May 13, 2020 14:20:29
    Re: Uploading Files with long file names.
    By: Electrosys to Digital Man on Wed May 13 2020 12:01 pm

    Re: Uploading Files with long file names.
    By: Digital Man to Electrosys on Tue May 12 2020 06:49 pm


    The reason is because when you blind-upload to the BBS, its receiving the files into a temp directory and moves each received file, one at a time, to the uploads directory and Windows is changing the short-name of the file when it moves it. Try setting the "Search for Duplicates" option for the Blind Uploads directory to "No" in SCFG->File Areas.

    I have updated the uploads dir setting to No for "Search for Duplicates" this seems to help but I'm not getting the behavior I would expect.

    When I upload the second file I get an error

    !ERROR checking EIGHT3~1.TXT

    The sysop has been notified.

    The file is physically uploaded to the upload dir, but the second file isn't listed in the terminal server file system, only the first file is displayed in the file listing.

    Any ideas as to why the second file doesn't show up in the listing?

    I just committed a change to bat_xfer.cpp that hopefully addresses that problem. Please give that a shot.

    Also, what terminal program are you using to perform these batch uploads, out of curiousity?

    digital man

    Synchronet "Real Fact" #40:
    Synchronet has been ported to FreeBSD, NetBSD, OpenBSD, Solaris, QNX, and MacOS.
    Norco, CA WX: 70.8F, 53.0% humidity, 8 mph ENE wind, 0.00 inches rain/24hrs --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Electrosys@1:103/705 to Digital Man on Thursday, May 14, 2020 10:30:28
    Re: Uploading Files with long file names.
    By: Digital Man to Electrosys on Wed May 13 2020 02:20 pm


    Also, what terminal program are you using to perform these batch uploads, out of curiousity?

    I'm using syncterm for linux in fedora. From what I remember its a more recent version of syncterm that I download from the site.

    fyi: I'm still somewhat stuck to a Sysop & QA role until I have myself completly setup in a dev environment.

    ( I basically went through the biggest struggle of my life during the last few years. Still catching up... ;) )

    Thanks,
    Electrosys
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Electrosys on Thursday, May 14, 2020 14:11:28
    Re: Uploading Files with long file names.
    By: Electrosys to Digital Man on Thu May 14 2020 10:30 am

    Re: Uploading Files with long file names.
    By: Digital Man to Electrosys on Wed May 13 2020 02:20 pm


    Also, what terminal program are you using to perform these batch uploads, out of curiousity?

    I'm using syncterm for linux in fedora. From what I remember its a more recent version of syncterm that I download from the site.

    I'm confused as to how you're accomplishing that with SyncTERM as it doesn't support batch uploads.

    fyi: I'm still somewhat stuck to a Sysop & QA role until I have myself completly setup in a dev environment.

    ( I basically went through the biggest struggle of my life during the last few years. Still catching up... ;) )

    Ah, sorry to hear that. But welcome back!

    digital man

    Sling Blade quote #12:
    Karl (re hammer): I don't rightly know. I just kinda woke up holding it.
    Norco, CA WX: 74.4F, 51.0% humidity, 5 mph NNW wind, 0.00 inches rain/24hrs --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Electrosys@1:103/705 to Digital Man on Thursday, May 14, 2020 15:42:35
    Re: Uploading Files with long file names.
    By: Digital Man to Electrosys on Thu May 14 2020 02:11 pm

    I'm confused as to how you're accomplishing that with SyncTERM as it doesn't support batch uploads.

    From the terminal system I do File System->Enter Batch Mode->Upload Files In Upload Queue.

    Since there are no files in my upload queue, the upload file dialog opens in syncterm and I simply select the file. This allows me to upload the file with the LFN even though I'm only uploading one file at a time. The regular upload function only allows you to specificy an 8.3 length file name.


    Ah, sorry to hear that. But welcome back!

    Thanks!




    Thanks for the help,
    Electrosys
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Electrosys on Thursday, May 14, 2020 18:18:21
    Re: Uploading Files with long file names.
    By: Electrosys to Digital Man on Thu May 14 2020 03:42 pm

    Re: Uploading Files with long file names.
    By: Digital Man to Electrosys on Thu May 14 2020 02:11 pm

    I'm confused as to how you're accomplishing that with SyncTERM as it doesn't support batch uploads.

    From the terminal system I do File System->Enter Batch Mode->Upload Files In Upload Queue.

    Since there are no files in my upload queue, the upload file dialog opens in syncterm and I simply select the file. This allows me to upload the file with the LFN even though I'm only uploading one file at a time.

    Right. But you were having troubles with uploading *multiple* files at a time, which is why I asked what terminal you were using to do that. SyncTERM doesn't support uploading multiple files at a time.

    digital man

    Sling Blade quote #6:
    Karl: he should've had a chance to grow up. He would had fun some time.
    Norco, CA WX: 70.9F, 55.0% humidity, 5 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Electrosys@1:103/705 to Digital Man on Friday, May 15, 2020 07:19:05
    Re: Uploading Files with long file names.
    By: Digital Man to Electrosys on Thu May 14 2020 02:11 pm


    fyi: I'm still somewhat stuck to a Sysop & QA role until I have myself completly setup in a dev environment.

    Also, I really want to finish this tetris game I started years ago in SDL. I started it in SDL 1 and it was my first game so it turned into a disaster. A few weeks back I completly re-wrote it in SDL2 using a much better model namely addressing how the collision detection is done. Ive kept it inline with the MVC model as well. I'm working through a bug in the crux of the engine, but its going well and I should be at a point soon where I'll be spending most of the time on design work for the game.

    Ive been learning some of the modern C++ too, move semantics are sweet! Range based for loops are pretty handy too.

    https://github.com/electrosy/sdl2-blocks

    Heres the old disaster: https://github.com/electrosy/codebase/tree/master/cppcode/blockbrigade


    Thanks,
    Electrosys

    ---
    Synchronet Digital Aquarium - digiaqua.synchro.net - So much fun...
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Electrosys@1:103/705 to Digital Man on Friday, May 15, 2020 07:53:55
    Re: Uploading Files with long file names.
    By: Digital Man to Electrosys on Thu May 14 2020 06:18 pm


    Right. But you were having troubles with uploading *multiple* files at a time, which is why I asked what terminal you were using to do that. SyncTERM doesn't support uploading multiple files at a time.

    I was having trouble uploading one file after the other (2 files, one at a time) that each had the same first eight characters.

    As far as I know your change to bat_xfer.cpp will address the issue I was having. I was able to get the files uploaded by setting Check for Duplicates to
    No.

    But when I listed the files in the terminal only the first file was showing and
    you mentioned you made a change to bat_xfer.cpp to address this.

    I think your change to bat_xfer.cpp will be included in the snapshot now, so as
    far as I understand updating to the latestet snap shot should address my issue.

    Thanks,
    Electrosys
    --- SBBSecho 3.11-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From HusTler@1:103/705 to Digital Man on Friday, May 15, 2020 22:40:30
    Re: Uploading Files with long file names.
    By: Digital Man to Electrosys on Tue May 12 2020 09:06 am

    I'll give it a shot. Does SBBS support SFTP?

    Nope. It does support FTPS however that doesn't seem to be working for you.

    Wow.. and I thought I've been using sftp all this time.huh

    HusTler
    havens.synchro.net:23

    ---
    Synchronet Havens BBS havens.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)