Hi, i'm a newbie of scripting
and urgently need to do a script witch can upload a file and by erasing the old one on the server :
i have a webcam on a computer behind a proxy the webcam give me every 15 secondes a new image. my image is called pic.jpg every 15 sec pic.jpg is erased by the new one.
i want to auto upload it with a script that i will auto execute with crontab.
so ? anyone know how to do a bash script witch can connect the my ftp server with login password and upload the picture. ? and at all times must erase the file (replace by the old one by the new one).
??????
Thanks in advance
NB : and know if i can use proxy authentification by ncftp ? becuase i have to login to pass throught it.