Pycharm automatic upload doesn't work

Answered

Hi!

I have PyCharm 2018.3, and automatic upload isn't working. I have "Automatic Upload(always)" checked in Tools->Deployment menu, and it's set to "Always". I have the Remote Host set to "Use as Default" in the Deployment settings.

The odd thing is that when I edit a file and press "ctrl + s", the file is uploaded normally, but the upload doesn't work until I press "ctrl + s", although I have set "Automatic Upload(always)".

Thanks!

1
4 comments

Hi,

PyCharm will note upload the files immediately, so in case you need to upload them right away you should save it explicitly indeed.

It should upload it though with some period of time. Doesn't it happen at all if you do not press ctrl+s?

If not, please try setting Save files automatically if application is file for under Settings | Appearance & Behavior | System Settings.

0
Avatar
Permanently deleted user

Hi Sergey Karpov,

Thanks. Setting "Save files automatically if application is idle * secs" under Settings | Appearance & Behavior | System Settings does solve the problem since it triggers the "ctrl+s" action every * seconds.

0
Avatar
Permanently deleted user

Recently had this issue when I changed IP of my remote interpreter.  For me there was an error message in Tools -> Deployment -> Option that said I didn't have a default server set up (dispite only having one available).

In Tools -> Deployment -> Configuration, right click on the deployment you want on the column on the left, and 'Use as Default'.  That solved the issue for me, and I hope it helps others in the future who stumble accross this thread.

5

I was struggling with this issue, but it turned out that I had accidentally excluded my entire project directory in the deployment configuration. In Tools → Build, Execution, Deployment → Deployment, check the Excluded Paths for your deployment configuration to make sure they do not include the files that you wish to automatically upload.

0

Please sign in to leave a comment.