¿ªÔÆÌåÓý

File renaming


 

Hello,

I run a couple of groups for baseball leagues, using APBA's Baseball for Windows. When people attach files, apparently some (though not all?) are getting renamed in a way that makes the software not recognize them as BBW files. The file names are in the format "C-[name].LPF" and "F-[name].LPF". The problem appears to be that the dash after the C or F is getting turned into an underscore ("_"), and this causes the software to ignore that when I try to load Commissioner or Franchise files. If I catch it when I save the attached files, I can rename them to the right format, but if I don't, I may think that someone has failed to send me a file at all. Is there a way to prevent this from happening?

Thanks,
Mike


 

Hi Mike,
The problem appears to be that the dash after the C or F is getting turned into an underscore ("_")
I've just tried sending a message to one of my test subgroups with an attachment called C-Test1.lpf and it gets sent back to me and my other test account as that.? There is no renaming going on that I can see.

In an effort to eliminate the obvious, can you confirm that you are looking at an attachment when you receive a message and not just a link to it?? The settings to determine whether groups.io sends a file or a link are in the Advanced Preferences of the member settings for each group.

Regards,
Andy


 

It appears to be an attachment, not a link. I use Thunderbird to read my email, and that's how it shows up (in Yahoo groups, it's clearly a link, but groups.io seems to be sending them along as actual attachments). The problem is, it's not consistent. Most of the time, the dash comes through just fine, just some people seem to have them turned into underscores, and they swear they're not renaming them that way themselves (the software creates the files with the dash in the name). I'm just baffled as to why it's an issue for some, but not others. Thanks.


 

On Fri, Mar 8, 2019 at 08:05 AM, Mike Lease wrote:
Most of the time, the dash comes through just fine, just some people seem to have them turned into underscores, and they swear they're not renaming them that way themselves (the software creates the files with the dash in the name). I'm just baffled as to why it's an issue for some, but not others.
It seems obvious that GIO is not changing it, so this must be happening with their email client. Have those who are experiencing this problem check their client settings to see if there is something that would affect it. If they aren't savvy enough to do so, let us know what client/OS they are using and maybe we can look it up.
?
Hope this helps,
Bruce
--
The system Help is your friend.??/static/help


Gerald Boutin
 

On Fri, Mar 8, 2019 at 02:12 AM, Mike Lease wrote:
Hello,

I run a couple of groups for baseball leagues, using APBA's Baseball for Windows. When people attach files, apparently some (though not all?) are getting renamed in a way that makes the software not recognize them as BBW files. The file names are in the format "C-[name].LPF" and "F-[name].LPF". The problem appears to be that the dash after the C or F is getting turned into an underscore ("_"), and this causes the software to ignore that when I try to load Commissioner or Franchise files. If I catch it when I save the attached files, I can rename them to the right format, but if I don't, I may think that someone has failed to send me a file at all. Is there a way to prevent this from happening?

Thanks,
Mike
Mike,

I cannot duplicate what you say is happening.?However, I did note some unexpected behavior?somewhat related to what you are saying.

As a test, I included several attachments in an email. All attachments arrived fully safe and sound as distributed to the group via email.?Two of the 4 files were not saved online, but that wasn't totally unexpected as they were empty files. The other two files, one with hyphens and the other with underscores in the name were correctly saved with the filename as uploaded.

I repeated the same test via the web interface to upload files to the Files directory. The files with content were saved with the filenames intact. Again, the empty files were not saved. The upload went through all of the motions, but there were no messages at all and nothing was actually saved.

Finally, we come?to something more directly related to your issue. This message is being posted using the web UI. The online File upload UI does convert the hyphen to an underscore, but only in the UI. The file is saved with the correct hyphen character in it. At least it did when I first tried this as a test. This graphic file showing the behavior in a previous test should be named?Hyphen-Test.jpg.





?
--
Gerald


 

On 3/8/2019 9:32 AM, Bruce Bowman wrote:
On Fri, Mar 8, 2019 at 08:05 AM, Mike Lease wrote:
Most of the time, the dash comes through just fine, just some people
seem to have them turned into underscores, and they swear they're
not renaming them that way themselves (the software creates the
files with the dash in the name). I'm just baffled as to why it's an
issue for some, but not others.
It seems obvious that GIO is not changing it, so this must be happening with their email client. Have those who are experiencing this problem check their client settings to see if there is something that would affect it. If they aren't savvy enough to do so, let us know what client/OS they are using and maybe we can look it up.
Hope this helps,
Bruce
Is it possible that the original file names are using an n-dash or m-dash typographical character instead of a hyphen? This might cause a problem depending on whether the message is sent as plain text versus HTML.

--
Bill


Gerald Boutin
 

On Fri, Mar 8, 2019 at 12:52 PM, Gerald Boutin wrote:
On Fri, Mar 8, 2019 at 02:12 AM, Mike Lease wrote:
Hello,

I run a couple of groups for baseball leagues, using APBA's Baseball for Windows. When people attach files, apparently some (though not all?) are getting renamed in a way that makes the software not recognize them as BBW files. The file names are in the format "C-[name].LPF" and "F-[name].LPF". The problem appears to be that the dash after the C or F is getting turned into an underscore ("_"), and this causes the software to ignore that when I try to load Commissioner or Franchise files. If I catch it when I save the attached files, I can rename them to the right format, but if I don't, I may think that someone has failed to send me a file at all. Is there a way to prevent this from happening?

Thanks,
Mike

Finally, we come?to something more directly related to your issue. This message is being posted using the web UI. The online File upload UI does convert the hyphen to an underscore, but only in the UI. The file is saved with the correct hyphen character in it. At least it did when I first tried this as a test. This graphic file showing the behavior in a previous test should be named?Hyphen-Test.jpg.
Mike,

On further review,?it seems that I have reproduced what you have noticed. It has been pointed out to me that this time, the file shows up in the GMF group with the hyphen changed to an underscore. I don't get emails from this group, so I don't know how the filename appears in an email client.

So, I have to agree that it sometimes does change the character from a hyphen to an underscore, although I don't know why the same jpg file worked OK in another group and not in this case.

--
Gerald


 

On Fri, Mar 8, 2019 at 07:05 PM, Gerald Boutin wrote:
So, I have to agree that it sometimes does change the character from a hyphen to an underscore, although I don't know why the same jpg file worked OK in another group and not in this case.
It isn't even consistent within a group. See recent?GMF message #15445, in which the hyphens in the attached filename seem to have come through intact.

Ghosts in the machine?? :-)

Bruce
?---
The system Help is your friend.??/static/help


 

Heh. Yeah, ghosts. :D I guess I'll just have to keep watching for it and renaming them when necessary.

Thanks,
Mike


 

On Sat, Mar 9, 2019 at 08:56 AM, Mike Lease wrote:
Yeah, ghosts. :D
As best I can tell, if the attachment is sent via the web interface, they are converted to underscores. If sent via email, the hyphens are retained.

I guess I'll just have to keep watching for it and renaming them when necessary.
I will report this to support as a bug, but you may have to continue doing the above as a workaround for awhile.
?
Regards,
Bruce
--
The system Help is your friend.??/static/help


 

Thanks much, Bruce. I'll ask the member if he is using the web interface or email, and if that's what's happening, see if I can get him to use email.

-Mike


 

Oh, I did notice that the member it's happening with has an aol.com address; it's possible there's an interaction going on there, as well.

-Mike


 

On Sun, Mar 10, 2019 at 01:42 AM, Mike Lease wrote:
Thanks much, Bruce. I'll ask the member if he is using the web interface or email, and if that's what's happening, see if I can get him to use email.
Mike -- Mark has reported to me (and I have confirmed) that as of today, hyphens in file names are no longer converted to underscores when attached to a post using the online message editor. Hopefully this will remedy your problem with the Baseball for Windows files.

Regards,
Bruce?
--
The system Help is your friend.??/static/help


 

Awesome! Thanks for your help. I did find out that the member was using the web interface, and he says he'll email them from now on, but good to know the issue is fixed.

Thanks,
Mike