Previous Thread
Next Thread
Print Thread
EMAILX Does Not Support Filenames longer than 8.3 #26223 14 Nov 18 10:08 AM
Joined: Jun 2001
Posts: 713
S
Steven Shatz Offline OP
Member
OP Offline
Member
S
Joined: Jun 2001
Posts: 713
In Emailx, the filename portion of attached files apparently cannot be longer than the traditional 8.3 format. If longer, it results in either a truncated attachment (at 4096 bytes in my case) or error 80 (bad attachment).

I want to attach a file named: batchar_exceptions.csv, but even trying to attach batcharexc.csv results in one of the above errors. However, the same file renamed to batarexc.csv gets emailed with no problems.

I have EMAILX.SBX v6.4(137) and A-Shell v6.4.1556.8 under Centos 6.10.

Re: EMAILX Does Not Support Filenames longer than 8.3 #26224 14 Nov 18 11:03 AM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
I think the workaround is to add a directory separator to the filename to make it clear to EMAILX that it is native format, e.g.

Code
ATT'FILE(x) = "./batchar_exceptions.csv"
! or
ATT'FILE(x) = "/u/attachments/batcharexc.csv"
Obviously that should be fixed, but this might be a faster and otherwise painless workaround in the meantime.

Re: EMAILX Does Not Support Filenames longer than 8.3 #26225 14 Nov 18 02:35 PM
Joined: Jun 2001
Posts: 713
S
Steven Shatz Offline OP
Member
OP Offline
Member
S
Joined: Jun 2001
Posts: 713
The workaround didn't help. Then I discovered the real problem - I was trying to email un-closed files. This explains why the longer file was sent truncated while the smaller file didn't get sent.
EMAILX handles long filenames properly and no fix is needed. Thanks for your help.


Moderated by  Jack McGregor, Ty Griffin 

Powered by UBB.threads™ PHP Forum Software 7.7.3