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

20
LINES

< > BotCompany Repo | #1027356 // fileUpload - synonym of uploadFileToFileServer

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (7194L/43K).

static S fileUpload(S path) {
  ret uploadFileToFileServer(path);
}



static S fileUpload(File f) {
  ret uploadFileToFileServer(f);
}



// TODO: optimize
static S fileUpload(File/S f, S name) {
  ret uploadFileToFileServer(f, name);
}

static S fileUpload(byte[] data, S name) {
  ret uploadFileToFileServer(data, name);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027356
Snippet name: fileUpload - synonym of uploadFileToFileServer
Eternal ID of this version: #1027356/2
Text MD5: af54bd5d88c984492b6fe1611607a98e
Transpilation MD5: f4cc325727189653b467994147661232
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-24 20:30:57
Source code size: 344 bytes / 20 lines
Pitched / IR pitched: No / No
Views / Downloads: 179 / 338
Version history: 1 change(s)
Referenced in: [show references]