Skip to content

Commit 3aec315

Browse files
authored
rename size to length in ftp (#1194)
1 parent a9cd3db commit 3aec315

File tree

1 file changed

+2
-2
lines changed
  • src/plugins/ftp/src/android/com/foxdebug/ftp

1 file changed

+2
-2
lines changed

src/plugins/ftp/src/android/com/foxdebug/ftp/Ftp.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ public void run() {
247247

248248
JSONObject jsonFile = new JSONObject();
249249
jsonFile.put("name", filename);
250-
jsonFile.put("size", file.getSize());
250+
jsonFile.put("length", file.getSize());
251251
jsonFile.put("url", joinPath(path, filename));
252252

253253
if (file.isSymbolicLink()) {
@@ -1018,7 +1018,7 @@ public void run() {
10181018
stat.put("isDirectory", file.isDirectory());
10191019
stat.put("isLink", file.isSymbolicLink());
10201020
stat.put("linkCount", file.getHardLinkCount());
1021-
stat.put("size", file.getSize());
1021+
stat.put("length", file.getSize());
10221022
stat.put("name", getBaseName(file.getName()));
10231023
stat.put("lastModified", file.getTimestamp().getTimeInMillis());
10241024
stat.put("link", file.getLink());

0 commit comments

Comments
 (0)