CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 How can I move timestamp from filename of uploaded image?

Print topic Send  topic

Author Message
infobih

Posts: 58
Posted: 09/16/2006, 4:28 AM

or at least move timestamp at the end of filename instead at begining? i need this for better search and sorting purposes.
thanks
View profile  Send private message
mamboBROWN


Posts: 1713
Posted: 09/17/2006, 8:30 PM

What language are you using (PHP or ASP or JAVA or .NET)??
View profile  Send private message
infobih

Posts: 58
Posted: 09/18/2006, 1:53 AM

sorry i forget to mention.
i am using ASP ODBC and mysql.
thanks
View profile  Send private message
infobih

Posts: 58
Posted: 09/21/2006, 8:53 AM

any idea?
View profile  Send private message
flipandboef


Posts: 107
Posted: 11/22/2006, 2:13 PM

Did you ever found a solution? I am looking for the same thing... I Must have the timestamp removed. (asp / Msaccess)
View profile  Send private message
matheus

Posts: 386
Posted: 11/23/2006, 2:11 AM

Can change Common Files. In Java FileUpload.java.

Take care, that timestamp in end of filename will do something like this in file extension.

Original: image.jpg
CCS transform: 200622110213_image.jpg
You wanna this: image.jpg200622110213

It's better stay like CCS transform, and save in other column the real name, with this new column you search and sort.


_________________
Matheus Trevizan

Dynamix Software Ltda.
Blumenau SC Brasil
www.dynamix.com.br
View profile  Send private message
Oper


Posts: 1195
Posted: 11/23/2006, 4:58 AM

Matheus if you need for Display purpose and Sort, i will suggest create a another field in your database with the name and keep the time stamp in the upload field.

you coudl always alter the upload function to create

fieldname_timestamp.jpg
(but will be destroyed every new CCS version)
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message
matheus

Posts: 386
Posted: 11/23/2006, 5:03 AM

Quote matheus:
Can change Common Files. In Java FileUpload.java.

Take care, that timestamp in end of filename will do something like this in file extension.

Original: image.jpg
CCS transform: 200622110213_image.jpg
You wanna this: image.jpg200622110213

It's better stay like CCS transform, and save in other column the real name, with this new column you search and sort.




Oper, wasn't my question. And I had same solution. :-D :-D :-D
_________________
Matheus Trevizan

Dynamix Software Ltda.
Blumenau SC Brasil
www.dynamix.com.br
View profile  Send private message
Oper


Posts: 1195
Posted: 11/23/2006, 5:06 AM

read again :P


also infobish quote
Quote :
i need this for better search and sorting purposes.

you even can create teh filename with the name you wnat dinamcly too.
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.