Dumas Walker wrote to All <=-
I am running synchronet on a linux machine so, of course, file
names are case sensitive. Is there a way to get TICKIT (or a
handler script) that will ignore the file name case and replace
the file (and distribute it) regardless of whether it is
FOOBAR.ZIP or foobar.zip (or foobar.ZIP, etc.)?
I have been getting TICs from a non-linux hub. The OS they are
running apparently allows for lower case file names but treats
them the same as upper case. So, I will get a TIC with an
upper-case name inside the TIC but the file is actually in lower
case. AS a result, TICKIT does what you would expect. It copies
the new lower-case file into the directory, leaves the upper-case
file in
place, and then distributes the (old) upper case file.
I would expect a CRC failure but apparently they must match as
one of my downlinks has reported that his synchronet system is
also processing the upper- case file as if it was the correct one
and not old.
I am running synchronet on a linux machine so, of course, file names are case sensitive. Is there a way to get TICKIT (or a handler script) that will ignore the file name case and replace the file (and distribute it) regardless of whether it is FOOBAR.ZIP or foobar.zip (or foobar.ZIP, etc.)?
I have been getting TICs from a non-linux hub. The OS they are running apparently allows for lower case file names but treats them the same as upper case. So, I will get a TIC with an upper-case name inside the TIC but the file is actually in lower case. AS a result, TICKIT does what you would expect. It copies the new lower-case file into the directory, leaves the upper-case file in
place, and then distributes the (old) upper case file.
I am running synchronet on a linux machine so, of course, file names are case sensitive. Is there a way to get TICKIT (or a handler script) that will ignore the file name case and replace the file (and distribute it) regardless of whether it is FOOBAR.ZIP or foobar.zip (or foobar.ZIP, etc.)?
I have been getting TICs from a non-linux hub. The OS they are running apparently allows for lower case file names but treats them the same as upper case. So, I will get a TIC with an upper-case name inside the TIC but the file is actually in lower case. AS a result, TICKIT does what you would expect. It copies the new lower-case file into the directory, leaves the upper-case file in
place, and then distributes the (old) upper case file.
Re: TICKIT and filenamesyour hub is always sending you lowercase, regardless of what the .tic file says)?
By: Dumas Walker to All on Sat Jan 11 2020 09:34 am
I am running synchronet on a linux machine so, of course, file names are
case sensitive. Is there a way to get TICKIT (or a handler script) that
will ignore the file name case and replace the file (and distribute it)
regardless of whether it is FOOBAR.ZIP or foobar.zip (or foobar.ZIP, etc.)?
I have been getting TICs from a non-linux hub. The OS they are running
apparently allows for lower case file names but treats them the same as
upper case. So, I will get a TIC with an upper-case name inside the TIC but
the file is actually in lower case. AS a result, TICKIT does what you would
expect. It copies the new lower-case file into the directory, leaves the
upper-case file in
place, and then distributes the (old) upper case file.
I'm curious: how did you end up with the upper case file to begin with (if
digital man
I'm curious: how did you end up with the upper case file to begin
with (if your hub is always sending you lowercase, regardless of
what the .tic file says)?
I'm curious: how did you end up with the upper case file to begin with (if your
hub is always sending you lowercase, regardless of what the .tic file says)?
It'll look to see if the file name mentioned in the .tic file already exists wi
h *any* case, and overwrite that file. Since I don't use/run tickit.js myself,
can't easily test this modification, but you're welcome to and let me know if
t works for you.
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 28 |
Nodes: | 8 (0 / 8) |
Uptime: | 125:36:54 |
Calls: | 1,998 |
Calls today: | 2 |
Files: | 11,111 |
Messages: | 943,011 |