Deploy to FTP - detect remote changes
Hey all,
I'm starting to use PhpStorm for all projects, even small changes that I would normally do with FileZilla. Loving it.
Just wondering if there is a way to detect a remote change in a file before deploying it via FTP?
eg: I'm working on a website, but the client is in there too at the same time, both updating the same file with FTP.
Dreamweaver had a feature that remembered the last file size/mod date of a remote file, and it would warn you about a possible change if this was different at next attempted upload.
Just wondering.
ps: The "comare with deployed version" tool is absolutely amazing!!! especially the part that allows you to click on individual remote diff's and bring it to your local copy. Just would love if the "compare with deployed" window would appear automatically if a possible diff was detected.
Cheers,
Dave
Please sign in to leave a comment.
Hello Dave,
Thanks for your feedback,
This feature is on the plan, please watch/vote for http://youtrack.jetbrains.net/issue/WI-2064 to be notified when it's implemented.
Regards,
Kirill
Cheers
I didn't even know that feature existed. That's awesome. However, mine is greyed out. Any ideas why?
Keith, most likely file you're trying to compare is not mapped. Please go to File | Settings | Deployment | (your server) | Mappings tab and ensure that mapping exists for the file or it's parent folder.
Regards,
Kirill
No, I think those are set correctly. Wait, does this only for for a single file? Yes, after testing, that does appear to be the case. Well, that doesn't really do me any good. I don't need to know if they've changed the file I'm working on as much as I need to know WHAT file they have changed.
BTW
is a common UI for comparing/merging files, so it it's the same for comparing files under version control, 'Compare with Clipboard', 'Compare two files', 'Compare with Local History' actions and so on...
Keith, sure I see your point, it's http://youtrack.jetbrains.net/issue/WI-553 you've voted for already.