1
1
I'm logging in through SFTP using WinSCP. I am able to see all the files of my website and the whole directory structure. However, if I try to edit a file, e.g. an HTML or CSS file, I am able to re-upload it to the server but the changes don't take effect on the website! I thought it was a permissions issue so I assigned 0777 using WinSCP to all the files and directories on the website, but still no changes take effect. What am I doing wrong that I can't edit files--only VIEW them--in WinSCP?
Are you sure you are not modifying a COPY of the file that WInSCP has put in temp or elsewhere and then not re-uploading that copy? Have you setup an external editor as per http://winscp.net/eng/docs/ui_pref_editor#preference ?
– ssnobody – 2015-06-12T01:14:11.573Do you have a shell access to the server? Can you check file timestamp (in shell, not WinSCP) before the upload and after the upload? Is it changed to a later time after the upload? – Martin Prikryl – 2015-06-12T07:22:03.990