{{ template "header" . }}

Upload File

{{ if (eq .Directory.RelPath "/") }}
{{ else }} {{ end }}
Drag & Drop files here or click to select. Files will be uploaded automatically.
{{ if .Directory.AuthEnabled }} {{ end }} {{ if .Directory.IsSubdirectory }} {{ if .Directory.AuthEnabled }} {{ end }} {{ end }} {{range .Directory.Content}} {{ if .IsDir }} {{ else }} {{ end }} {{ if .AuthEnabled }} {{ end }} {{ end }}
Name Size Last Modified
../ -- --
{{ if .IsDir }} {{ else }} {{ if .IsSymlink }} {{ else if or (eq .Ext ".gz") (eq .Ext ".zip") (eq .Ext ".tar") (eq .Ext ".rar") (eq .Ext ".7z") }} {{ else if (eq .Ext ".pdf") }} {{ else if or (eq .Ext ".pptx") (eq .Ext ".ppt") (eq .Ext ".pps") (eq .Ext ".odp") }} {{ else if or (eq .Ext ".docx") (eq .Ext ".doc") (eq .Ext ".odt") }} {{ else if or (eq .Ext ".xlsx") (eq .Ext ".xls") (eq .Ext ".ods") }} {{ else if (eq .Ext ".csv") }} {{ else if (eq .Ext ".exe") }} {{ else if or (eq .Ext ".txt") (eq .Ext ".rtf") (eq .Ext ".md") (eq .Ext ".conf") (eq .Ext ".html") (eq .Ext ".htm") (eq .Ext ".log") (eq .Ext ".ini") (eq .Ext ".cfg") (eq .Ext ".yml") (eq .Ext ".toml") (eq .Ext ".json") (eq .Ext ".asc") (eq .Ext ".xml") }} {{ else if or (eq .Ext ".flac") (eq .Ext ".wav") (eq .Ext ".mp3") }} {{ else if or (eq .Ext ".mpeg") (eq .Ext ".mpg") (eq .Ext ".mp4") (eq .Ext ".wmv") (eq .Ext ".avi") (eq .Ext ".flv") (eq .Ext ".mkv") (eq .Ext ".mov") (eq .Ext ".webm") (eq .Ext ".vob") (eq .Ext ".ogg") (eq .Ext ".m4v") (eq .Ext ".h264") }} {{ else if or (eq .Ext ".bmp") (eq .Ext ".tiff") (eq .Ext ".tif") (eq .Ext ".ai") (eq .Ext ".cdr") (eq .Ext ".xcf") (eq .Ext ".raw") (eq .Ext ".gif") (eq .Ext ".png") (eq .Ext ".jpg") (eq .Ext ".jpeg") (eq .Ext ".psd") (eq .Ext ".svg") ( eq .Ext ".ico") }} {{ else if or (eq .Ext ".php") (eq .Ext ".py") (eq .Ext ".go") (eq .Ext ".cs") (eq .Ext ".c") (eq .Ext ".pl") (eq .Ext ".rb") (eq .Ext ".cgi") (eq .Ext ".cpp") (eq .Ext ".java") (eq .Ext ".tex") (eq .Ext ".bat") (eq .Ext ".ps1") }} {{ else if or (eq .Ext ".iso") (eq .Ext ".dmg") (eq .Ext ".bin") (eq .Ext ".vcd") (eq .Ext ".vhd") (eq .Ext ".vhdx") (eq .Ext ".vmdk") (eq .Ext ".qcow2") (eq .Ext ".img") }} {{ else if or (eq .Ext ".mdb") (eq .Ext ".db") (eq .Ext ".dbf") (eq .Ext ".dat") (eq .Ext ".sql") }} {{ else }} {{ end }} {{ end }} {{ if .IsSymlink }} {{.Name}} --> {{.SymlinkTarget}} {{ else }} {{.Name}} {{ end }} -- {{.DisplaySize}} {{ .DisplayLastModified }} {{ if .IsDir }} {{ else }} {{ end }} {{ if or .ReadOnly .NoDelete }} {{ else }} {{ end }}
{{ if not .NoDelete }} {{ end }}
{{ if not .NoClipboard }}

Clipboard

Export
{{ range .Clipboard.Entries }}
{{.Time}}
{{.ID}}
{{.Content}}
{{ end }}
{{ end }} {{ if .Embedded }}

Embedded files

{{ range .EmbeddedContent.Content }} {{ end }}
Name
{{.Name}}
{{ end }} {{ if .CLI }}

CLI

{{ end }} {{ if gt (len .SharedLinks) 0}}

Shared Files

{{ range $token, $info := .SharedLinks }}
{{ $info.FilePath}}

Expires: {{ formatTime $info.Expires }}

Download Limit: {{ downloadLimitDisplay $info.DownloadLimit }}

{{ range $i, $v := .DownloadEntries }} {{ end }}
{{ end }}
{{ end }}
{{ template "scripts_index" . }} {{ template "footer" . }}