{"action":"created","issue":{"url":"https://api.github.com/repos/ktbyers/netmiko/issues/1207","repository_url":"https://api.github.com/repos/ktbyers/netmiko","labels_url":"https://api.github.com/repos/ktbyers/netmiko/issues/1207/labels{/name}","comments_url":"https://api.github.com/repos/ktbyers/netmiko/issues/1207/comments","events_url":"https://api.github.com/repos/ktbyers/netmiko/issues/1207/events","html_url":"https://github.com/ktbyers/netmiko/issues/1207","id":443002839,"node_id":"MDU6SXNzdWU0NDMwMDI4Mzk=","number":1207,"title":"Unable to SCP using Windows","user":{"login":"bouchardh","id":33556295,"node_id":"MDQ6VXNlcjMzNTU2Mjk1","avatar_url":"https://avatars0.githubusercontent.com/u/33556295?v=4","gravatar_id":"","url":"https://api.github.com/users/bouchardh","html_url":"https://github.com/bouchardh","followers_url":"https://api.github.com/users/bouchardh/followers","following_url":"https://api.github.com/users/bouchardh/following{/other_user}","gists_url":"https://api.github.com/users/bouchardh/gists{/gist_id}","starred_url":"https://api.github.com/users/bouchardh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bouchardh/subscriptions","organizations_url":"https://api.github.com/users/bouchardh/orgs","repos_url":"https://api.github.com/users/bouchardh/repos","events_url":"https://api.github.com/users/bouchardh/events{/privacy}","received_events_url":"https://api.github.com/users/bouchardh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2019-05-11T15:00:13Z","updated_at":"2019-05-16T03:24:58Z","closed_at":null,"author_association":"NONE","body":"When trying to copy a file from cisco_ios device to my local windows machine using SCP, I am getting this error:\r\n```\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 6, in <module>\r\n  File \"C:\\hbdata\\network\\lib\\site-packages\\netmiko\\scp_functions.py\", line 104, in file_transfer\r\n    verifyspace_and_transferfile(scp_transfer)\r\n  File \"C:\\hbdata\\network\\lib\\site-packages\\netmiko\\scp_functions.py\", line 18, in verifyspace_and_transferfile\r\n    if not scp_transfer.verify_space_available():\r\n  File \"C:\\hbdata\\network\\lib\\site-packages\\netmiko\\scp_handler.py\", line 160, in verify_space_available\r\n    space_avail = self.local_space_available()\r\n  File \"C:\\hbdata\\network\\lib\\site-packages\\netmiko\\scp_handler.py\", line 152, in local_space_available\r\n    destination_stats = os.statvfs(\".\")\r\nAttributeError: module 'os' has no attribute 'statvfs'\r\n```\r\nI am using Python 3.7.3 on Windows 10"},"comment":{"url":"https://api.github.com/repos/ktbyers/netmiko/issues/comments/492902085","html_url":"https://github.com/ktbyers/netmiko/issues/1207#issuecomment-492902085","issue_url":"https://api.github.com/repos/ktbyers/netmiko/issues/1207","id":492902085,"node_id":"MDEyOklzc3VlQ29tbWVudDQ5MjkwMjA4NQ==","user":{"login":"bouchardh","id":33556295,"node_id":"MDQ6VXNlcjMzNTU2Mjk1","avatar_url":"https://avatars0.githubusercontent.com/u/33556295?v=4","gravatar_id":"","url":"https://api.github.com/users/bouchardh","html_url":"https://github.com/bouchardh","followers_url":"https://api.github.com/users/bouchardh/followers","following_url":"https://api.github.com/users/bouchardh/following{/other_user}","gists_url":"https://api.github.com/users/bouchardh/gists{/gist_id}","starred_url":"https://api.github.com/users/bouchardh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bouchardh/subscriptions","organizations_url":"https://api.github.com/users/bouchardh/orgs","repos_url":"https://api.github.com/users/bouchardh/repos","events_url":"https://api.github.com/users/bouchardh/events{/privacy}","received_events_url":"https://api.github.com/users/bouchardh/received_events","type":"User","site_admin":false},"created_at":"2019-05-16T03:24:58Z","updated_at":"2019-05-16T03:24:58Z","author_association":"NONE","body":"Finally got black to accept the file... they are not kidding when they say uncompromising :)\r\n\r\nI leaned a lot with this PR. Sorry about the large number of commits."}}
{"actor":{"display_login":"bouchardh"}}