Command:
python sinusbot_uploader.py 127.0.0.1 8087 USER PASSWORD /home/all/bots/sinusbot/music/
After some files:
File "sinusbot_uploader.py", line 171, in <module>
uploadHelper(dir, bot, recursive)
File "sinusbot_uploader.py", line 136, in uploadHelper
if bot.Upload(entryTruePath):
File "sinusbot_uploader.py", line 113, in Upload
conn.request("POST", "/api/v1/bot/upload", bytes, hdr)
File "/usr/lib/python2.7/httplib.py", line 1042, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.7/httplib.py", line 1082, in _send_request
self.endheaders(body)
File "/usr/lib/python2.7/httplib.py", line 1038, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 882, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 858, in send
self.sock.sendall(data)
File "/usr/lib/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 32] Broken pipe
Command:
python sinusbot_uploader.py 127.0.0.1 8087 USER PASSWORD /home/all/bots/sinusbot/music/
After some files: