Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Abd
    Abd is offline
    New Coder
    Join Date
    Aug 2002
    Location
    Lagos, Nigeria
    Posts
    99
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Converting File Name

    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
    Abdul

  • #2
    Senior Coder Spudhead's Avatar
    Join Date
    Jun 2002
    Location
    London, UK
    Posts
    1,856
    Thanks
    8
    Thanked 110 Times in 109 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •