So after I have configured it (using SFTP), for some reason, it times out after about a minute. So when I drag a file to upload to my site it first shows this window:
The shows "Copying files to remote side failed":
and then connecting again:
Then it works for about a minute and if I don't upload anything, it goes back to the same sequence as I showed above.
My website is hosted with DreamHost. I contacted them first, and after looking at my IP trace their support guy told me that some of my packets never reach their servers. He then suggested trying a different SFTP client.
I don't have any problem using the internet. I have a 100Mbps connection here.
Why is WinSCP disconnecting and showing that window all the time?