Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

what is the best way to rename a jpg file on my webpage site so that I can rename the current.jpg to old.jpg?

I just want to upload a new jpg using the webcam ftp software, it uploads webcam.jpg.

And when I refresh the page or press a button or whatever, rename that to webcam_old.jpg so that there is room for the next webcam image to be loaded.

I guess that I have HTML and javascript available to me on the webspace my ISP gives me.

Update:

Yes, the html is rendered on the client. Can I run a command line FTP rename from the client side from within the page?

2 Answers

Relevance
  • Anonymous
    1 decade ago
    Favorite Answer

    If you are using FTP and both the local and remote panes are open. Just find the old file on the remote pane, highlight it, press F2 and rename the file. Do same for the file in local pane if necessary or just drag and drop the file into the remote pane where you want it to go.

    Ron

  • 1 decade ago

    Your ftp program should support file renaming. If you are having problems I recommand using Filezilla or Core FTP instead which are both free.

    Also, HTML and Javascript run on the client side, that is within your browser, so they are not provided in any way by your ISP. Unfortunately renaming files on the webspace using code requires a server side language such as php or asp.net. This is a big undertaking and you have to be proficient in HTML and css before you learn php. You also need to buy proper web hosting space such as that provided by Fasthosts, One and one, or Eukhost which supports PHP/Asp.net.

Still have questions? Get your answers by asking now.