¿ªÔÆÌåÓý

Re: File renaming


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

Join [email protected] to automatically receive all group messages.