Jump to content

Copying a file to a new file


Guest Frans Maas

Recommended Posts

Guest Frans Maas

Hello,I am having my first look at an ASP page and would like to know how to solve the following.At the moment the ASP page produces an image and stores it in a directory with a filename that doesnt mean very much. I want to know how to move the file to another directory and rename it with a more meaningful filename. For example, the file currently gets created as C:\tmp\images\12def43x.tifI would like to end up with copy of this file inC:\pod\images\ABC1234.tif where ABC1234.tif is a file name I generate.Is it possible ? Any ideas ? The script being used on the ASP page is JavaScript.I think I should point out I have no control over what the original filename is set at.Cheers

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...