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

26
LINES

< > BotCompany Repo | #1025008 // uploadFile - synonym of uploadFileToFileServer

JavaX fragment (include)

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



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



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



sS uploadFile(byte[] data, S name) {
  ret uploadFileToFileServer(data, name);
}

sS uploadFile(S name, byte[] data) {
  ret uploadFile(data, name);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1025008
Snippet name: uploadFile - synonym of uploadFileToFileServer
Eternal ID of this version: #1025008/2
Text MD5: e8fea8a90cbd88196280352d92d54f4c
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-08-21 01:21:16
Source code size: 414 bytes / 26 lines
Pitched / IR pitched: No / No
Views / Downloads: 245 / 404
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)