Web site visited during files upload
Hi!
I use WinSCP for updating my php website. I get regulary php parse-errors in php-error log. The reason is that people visit website during the file being copied...
Is there any setting which would result in uploading file to a temporary filename and than rename it automatically?
If not, what are the options?
(I think about having 2 copies of website on the server. One for production and one for uploading. After each upload, I would run some script to update the production copy).
Thanks for WinSCP, great software!
I use WinSCP for updating my php website. I get regulary php parse-errors in php-error log. The reason is that people visit website during the file being copied...
Is there any setting which would result in uploading file to a temporary filename and than rename it automatically?
If not, what are the options?
(I think about having 2 copies of website on the server. One for production and one for uploading. After each upload, I would run some script to update the production copy).
Thanks for WinSCP, great software!