Код: Выделить всё
{"response":[{"did":0,"owner_id":0,"title":"p","size":0,"ext":"p","url":"http:\/\/vk.com\/docp_p?hash=eadcfb063130d77e30&dl=17b221e175368177c4","thumb":"p"}]}
Код: Выделить всё
VK.init(function() { VK.api('docs.getUploadServer', {}, function(data) { if (data.response){ VK.api("docs.save", {file: './1_1125864071.txt'}); } }); });