[AccessD] File Created with wrong name

Jim Lawrence accessd at shaw.ca
Fri Jan 13 12:25:23 CST 2006


Hi Ruben:

I had a similar problem when odd characters included in the file name, in my
case the character was being acquired from the current user's computer name.
Just strip out any dashes or "~", before processing and the problem should
go away.

HTH
Jim

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben Cummings
Sent: January 13, 2006 7:26 AM
To: AccessD
Subject: [AccessD] File Created with wrong name

I have a feature that allows a user to zip the data file or zip it and FTP
it to my web server.

It has worked flawlessly until now...the reason is that the file name that
the zip file got saved to was not what it's supposed to be.  I need help
figuring out why the file name was incorrect.

The data file (in this case) is named   chrttable.mdb

I append some data from the app to create a unique file name.  The name ends
up being   chrttableAllenCounty01132006.zip

The client's system produced a zip file named     chrtta~1.zip

Why is the name trucnated and changed to chrtta~1.zip?

Thanks.

Reuben Cummings
GFC, LLC
812.523.1017




-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list