I am trying to copy a directory from a local to remote system using Fabric in Python. The directory is rather large ~150MB and I am using put() function to copy the folder. The problem I see is that most of the times, the command gets stuck and never moves forward. The log file says:
INFO:paramiko.transport.sftp:[chan 2] Opened sftp connection (server version 3)
and remains there forever. Is there any other function/mechanism which can display me the status of copying or let me know what is happening while copying? I looked at rsync_project and upload_project but they don't seem to show the status of copy. Please let me know if I can do this in some better way.
I also looked at this solution wherein they added a progress bar to put(), but since they use a 3rd party package 'progressbar', I will prefer an alternate solution: https://github.com/fabric/fabric/issues/394