using FTP sync

OK, with new 722 build it should work. I tried to setup this function. Created new server, IDE connected to it and said that connection is properly established. Then in Deploy&Run settings menu I set Deploy Path. And it displayed properly folders on ftp server. But any auto sync with ftp server were found. On run it just started browser and displayed my site in web. I thought that ftp sync should update files on ftp server on run, and then start browser and display updated pages. Also I didn't find any ftp sync function in menus. And it's a riddle for - how does it must work?

4 comments
Comment actions Permalink

Hello Maxim,

Thanks for your feedback,

Currently you need to upload your files manually. Just right-click the files(s) or folder(s) in the Project view and choose Deploy & Run -> Upload to XXX (items should be located in the mapped folder).
We'll allow to upload files on run soon: please watch/vote http://youtrack.jetbrains.net/issue/WI-463.

Regards,
Kirill

PS You can also look at the other FTP-related issues and leave your feedback or vote for the most important features.

0
Comment actions Permalink

Thanks for answer. Updating goes just perfect. But here is some desire - it will be better if on upload full project it will check - what files wasn't changed from last uploading. I'll start such issue in bug tracker and place there some ideas about such checking.

0
Comment actions Permalink

There's already an option for this. Open Settings dialog, choose Deploy & Run | Options category and ensure 'Overwrite up-to-date files' is unchecked.  Also check 'Preserve files timestamps' option.

The logic is the following: if your FTP/SFTP server supports changing remote files timestamps, Web IDE will prevent the files timestamps from being reset to the current time on upload. Then, target file is considered up to date if it has the same size as the source one and timestamps difference is less than 1 second.

Regards,
Kirill

0

Please sign in to leave a comment.