Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1003987 // uploadWebPage

JavaX fragment (include)

static S uploadWebPage(S url) {
  S text = loadPage(url);
  if (text.isEmpty()) ret "";
  ret ntUpload(programID(), "Contents of " + url, text);
}

Author comment

Began life as a copy of #1000452

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1003987
Snippet name: uploadWebPage
Eternal ID of this version: #1003987/1
Text MD5: 13a37d697c7216f31e6e7837a5e8373b
Author: stefan
Category: javax / networking
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-01 22:13:48
Source code size: 150 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 560 / 556
Referenced in: #1005230 - uploadWebPage_utf8 - loads page assuming UTF-8 encoding
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1013314 - uploadWebPage_userAgent