Ejemplo 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);
 }
Ejemplo 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);
        }
Ejemplo 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);
 }