FTP connected but unable to transfer files

I'm trying to transfer files using WinScp, i was able to login to root folder, when i try to transfer a file, the progress showing 100% but speed is always 0 B/s. At the end the file on the remote server is 0 KB.