Esempio n. 1
0
 public static void UploadFile(Stream postedStream, string fileName,
                               string uploadURL, string fileGroup, string fileType,
                               string specialPath, UploadMethod method)
 {
     HttpUploader.UploadFile(postedStream, fileName, uploadURL, fileGroup,
                             fileType, specialPath, Environment.UserName, method);
 }
Esempio n. 2
0
        public static void UploadFile(Stream postedStream, string fileName,
                                      string uploadURL, string fileGroup, string fileType,
                                      string specialPath, string userName, UploadMethod method)
        {
            string uploadType = GetUploadType(method);

            HttpUploader.UploadFile(postedStream, fileName, uploadURL, fileGroup,
                                    fileType, specialPath, userName, uploadType);
        }
Esempio n. 3
0
 public static void UploadFile(string uploadURL, string fileGroup, string fileType,
                               string filePath, string specialPath, UploadMethod method)
 {
     HttpUploader.UploadFile(uploadURL, fileGroup, fileType,
                             filePath, specialPath, Environment.UserName, method);
 }