Is there another option that allows me to do what I want to do?
Javascript does not allow me (as far as I could see: I don't know
much) to delete, rename, or copy a file at the web hosting side.
Is there any trick in javascript or anything else that allows me to do
this?
Help.
I am posting the question I did to various newsgroup regarding
javascript and I received a "No, it cannot be done."
=============================================
I am in a situation regarding Network Cameras.
I am FTPing finally from my network camera to my rented web site.
Now this situation:
I want to display the image in my website; thus, the name of this file
must be the same all the time (I think.).
But the camera upload a file to a directory called "8_15_2004"
depending of the day and the file "21_56_06GMT.JPG" depending on the
time.
I want to copy this upload file to a static name in order to show it
on my webpage.
I think I need a java script to grab this file and copy it to an
static name; e.g., "camerapicture". disregarding the name of the foler
or the name of the file.
Finally I want to delete the these files. If not the space fill up
quite quickly.
The problem, I see with this methods, is that files won't be delete
when the script is not running or when no one is looking at the page.