Пример #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);
 }
Пример #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);
        }
Пример #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);
 }