1 | static S uploadFile(S path) { |
2 | ret uploadFileToFileServer(path); |
3 | } |
4 | |
5 | |
6 | |
7 | static S uploadFile(File f) { |
8 | ret uploadFileToFileServer(f); |
9 | } |
10 | |
11 | |
12 | |
13 | // TODO: optimize |
14 | static S uploadFile(File f, S name) { |
15 | ret uploadFileToFileServer(f, name); |
16 | } |
17 | |
18 | |
19 | |
20 | sS uploadFile(byte[] data, S name) { |
21 | ret uploadFileToFileServer(data, name); |
22 | } |
23 | |
24 | sS uploadFile(S name, byte[] data) { |
25 | ret uploadFile(data, name); |
26 | } |
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: | 246 / 405 |
Version history: | 1 change(s) |
Referenced in: | [show references] |