%@ Page Language="C#" ContentType="text/html" Debug="True" %>
<%@ Import Namespace="System.IO" %>
<%@ Import Namespace="System.Drawing" %>
<%@ Import Namespace="System.Drawing.Drawing2D" %>
<%@ Import Namespace="System.Security.AccessControl" %>
<%@ Import Namespace="System.Security.Principal" %>
<%
/*
* SlashUploader - JS plugin - Version 1.5.8
* http://slashuploader.com/
* Copyright (c) 2018-present Slash Apps Development, http://slash.co.il/
* Licensed under the MIT License [https://en.wikipedia.org/wiki/MIT_License]
*/
Response.AppendHeader("Access-Control-Allow-Origin", "*");
string FileFolder = "./uploads/";
bool DoOverwriteFilename = false;
bool SaveFileWithGuidFilename = false;
String[] AllowedFilesTypes = {
"jpg", "png", "gif", "jpeg", "bmp", "tiff", "webp", "jfif", // Images
"3gp2", "3gpp", "3gpp2", "asf", "asx", "avi", "flv", "m4v", "mkv", "mov", "mpeg", "mpg", "mpe", "m1s", "mpa", "mp2", "m2a", "mp2v", "m2v", "m2s", "mp4", "ogg", "rm", "wmv", "mp4", "qt", "ogm", "vob", "webm", "787", // Videos
"3gp", "act", "aiff", "aac", "alac", "amr", "atrac", "au", "awb", "dct", "dss", "dvf", "flac", "gsm", "iklax", "ivs", "m4a", "m4p", "mmf", "mp3", "mpc", "msv", "ogg", "opus", "raw", "tta", "vox", "wav", "wma", // Audios
"txt", // plain Text
"doc", "docb", "docm", "docx", "dot", "dotm", "dotx", "pdf", "pot", "potm", "potx", "ppam", "pps", "ppsx", "ppt", "pptm", "pptx", "sldm", "sldx", // Docs
"csv", "xla", "xlam", "xll", "xlm", "xls","xlsb", "xslm", "xlsx", "xlt", "xltm", "xltx", "xlw" // Excel
};
StartUpload(FileFolder, DoOverwriteFilename, SaveFileWithGuidFilename, AllowedFilesTypes);
%>