...

View Full Version : Converting File Name



Abd
04-10-2003, 12:43 PM
Hi All,

pls does any one know how I can resolve this problem;

I have a Server in which I save a flat file daily using the days date like(10-4-03.txt), but I want a SCRIPT that will convert the flat file name to something like(report.txt).

Thanks
Abd

Spudhead
04-10-2003, 01:32 PM
I want a SCRIPT that will convert the flat file name to something like(report.txt)

Fairly simple to do with a server-side script - ASP's FileSystemObject will suffice - but impossible to do client-side. Client-side scripting (ie:JavaScript) cannot, by definition, access files on the server in this way.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum