File uploading
Purpose: Upload a file to server.
See get-upload.
Files uploaded via any client (such as a browser, curl, call-web etc.) are obtained via get-upload.
Golf uploads files via HTML automatically, meaning you do not have to write any code for that specific purpose. An uploaded file will be stored in file-storage, with path and name of such a file generated by Golf to be unique. For example, a file uploaded might be named "$HOME/.golf/app_name/app/file/d0/f31881".
You can upload any number of files at the same time, i.e. in the same request. See "--maxupload" parameter in gg for the maximum file size allowed for file uploads.
For more details, see get-upload.
Files
change-mode
close-file
copy-file
delete-file
file-position
file-storage
file-uploading
get-upload
lock-file
open-file
read-file
read-line
rename-file
stat-file
temporary-file
uniq-file
unlock-file
write-file
See all
documentation
Copyright (c) 2019-2025 Gliim LLC. All contents on this web site is "AS IS" without warranties or guarantees of any kind.