Новости | FAQ | Авторы | Документация | В действии | Библиотека |
Инструменты | Полезные ссылки | Хостинги | Скачать | Примеры | Форум |
Sumo 24.03.2014 14:27
@main[] ^use[/../../hydra-vts.beta/classes/pf/io/pfCFile.p] $f[^pfCFile:load[binary;http://topwar.ru/uploads/posts/2014-01/1389587069_item_67_1.jpg; $.verbose(true) $.stderr[curl.log] ]] ^f.save[binary;t.jpg]curl.log:
* Adding handle: conn: 0x801c8b600 * Adding handle: send: 0 * Adding handle: recv: 0 * Curl_addHandleToPipeline: length: 1 * - Conn 0 (0x801c8b600) send_pipe: 1, recv_pipe: 0 * About to connect() to topwar.ru port 80 (#0) * Trying 5.187.2.65... * Connected to topwar.ru (5.187.2.65) port 80 (#0) > GET /uploads/posts/2014-01/1389587069_item_67_1.jpg HTTP/1.1 Host: topwar.ru Accept: */* Accept-Encoding: deflate, gzip < HTTP/1.1 200 OK * Server nginx is not blacklisted < Server: nginx < Date: Mon, 24 Mar 2014 10:19:54 GMT < Content-Type: image/jpeg < Content-Length: 232179 < Last-Modified: Mon, 13 Jan 2014 04:23:54 GMT < Connection: keep-alive < ETag: "52d36a5a-38af3" < Expires: Wed, 23 Apr 2014 10:19:54 GMT < Cache-Control: max-age=2592000 < Cache-Control: public < Accept-Ranges: bytes < * Connection #0 to host topwar.ru left intactВ t.jpg у меня оказалась картинка. :)