Uses 9724K of libraries. Click here for Pure Java version (9608L/54K).
svoid scpUploadFileToDir(S localFile, S user, S host, fS remoteDir) { scpUploadFile(newFile(localFile), user, host, remoteDir); } static void scpUploadFile(File localFile, S user, S host, fS remoteDir) ctex { print("Uploading file: " + f2s(localFile)); scpUploadWithMkdirs(user, host, addSlash(remoteDir) + fileName(localFile), fileSize(localFile), newFileInputStream(localFile)); }
Began life as a copy of #1009986
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020483 |
Snippet name: | scpUploadFileToDir |
Eternal ID of this version: | #1020483/1 |
Text MD5: | e8ded6f3e9dfd17191371b0e873c6a13 |
Transpilation MD5: | 8480b13575574c4ecbc381cc7078a180 |
Author: | stefan |
Category: | javax / networking |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-24 03:03:31 |
Source code size: | 398 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 272 / 345 |
Referenced in: | [show references] |