aboutsummaryrefslogtreecommitdiff
path: root/player/instructions.f90
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeff@approximatrix.com>2021-04-14 10:54:27 -0400
committerJeffrey Armstrong <jeff@approximatrix.com>2021-04-14 10:54:27 -0400
commit05b91a7ca0aace044621d8db1e82f4772181d893 (patch)
tree44bf7c8c284c3363f353553c12046e5ca4de40b7 /player/instructions.f90
parent14441b7f0d6dd0a101b38a4500fe1f662ae00215 (diff)
downloadlevitating-05b91a7ca0aace044621d8db1e82f4772181d893.tar.gz
levitating-05b91a7ca0aace044621d8db1e82f4772181d893.zip
Fixed binary transfers to maintain file integrity. Added globbed file upload capabilities. Fixed memory overrun issues due to problems parsing ls output.
Diffstat (limited to 'player/instructions.f90')
-rw-r--r--player/instructions.f906
1 files changed, 5 insertions, 1 deletions
diff --git a/player/instructions.f90 b/player/instructions.f90
index a3dc97a..1bd25ea 100644
--- a/player/instructions.f90
+++ b/player/instructions.f90
@@ -265,7 +265,11 @@ contains
if(.not. all(found,1)) then
success = .false.
else
- success = upload(url, filename)
+ if(index(filename, "*") > 0 .or. index(filename, "?") > 0) then
+ success = upload_glob(url, filename)
+ else
+ success = upload(url, filename)
+ end if
end if
else if(trim(operation) == "download") then