Libraryless. Click here for Pure Java version (7194L/43K).
1 | static S fileUpload(S path) {
|
2 | ret uploadFileToFileServer(path); |
3 | } |
4 | |
5 | |
6 | |
7 | static S fileUpload(File f) {
|
8 | ret uploadFileToFileServer(f); |
9 | } |
10 | |
11 | |
12 | |
13 | // TODO: optimize |
14 | static S fileUpload(File/S f, S name) {
|
15 | ret uploadFileToFileServer(f, name); |
16 | } |
17 | |
18 | static S fileUpload(byte[] data, S name) {
|
19 | ret uploadFileToFileServer(data, name); |
20 | } |
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: | 469 / 648 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |