upload utility

Visual Studio .Net

    Next

  • 1. IE asking for password
    I installed vs.net 2008 on win 2003 everything runs great beside that each time I hit F5 (to build and show my webpage in the browser) IE prompts me for a password. I enter the current users password and get access to the page. There is a remember me checkbox... but it doesnt remember me and it really shouldnt prompt me in the first place. Anyone got an idea about why this is happening and how I can turn it off? best regards,
  • 2. WPF localization
    I've read an article about WPF localization. It said it is recommended to manage Uid's with msbuild /t:updateuid projectname, and use locbaml command line tool to parse and generate satellite assemblies. But, this is really tedious. I have to open a command prompt, have to move to the directory where the files exist, and type long commands. Is there any way to do these within VS.NET? If not, is there any GUI tool that makes it easy to these? Thanks.
  • 3. Refresh Dataset Designer but not lose queries
    I am using Linq to Dataset. I have a Compact database (.sdf) that is the source of my dataset. In the course of development several new queries have been added to the table adapters for the dataset. Recently I had to refactor a large portion of my database. I now want to refresh the dataset designer to be using the latest version of my database. Is there a way to refresh the Dataset without loosing all my custom Table Adaptor Queries? I have tried creating a separate partial class definition of the my table adapters, but that does not work because the desinger.cs file is generated from the xsd file. Any other ideas? It feels like there should be a "Refresh but keep changes" button or something.
  • 4. compile bar on IDE vs2008
    how can I show my comile bar on vs2008 IDE? TIA

upload utility

Postby Alex Preston » Thu, 07 Aug 2003 18:57:56 GMT

Does anyone know how to use the Web Hosting Provider Upload Utility Add In?

cheers.



RE: upload utility

Postby paulmc » Wed, 13 Aug 2003 01:53:55 GMT

I'm not sure what you mean.  Are you talking about the Copy Project capability (found on the Visual Studio .NET 2003 menu at Project/Copy Project), or the 
Web Hosting features in the Start Page (under Online Resources/Web Hosting), or something else?

Thanks,
Paul McKee
VS Core team

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------


Similar Threads:

1.Form Upload Test Utility?

Anyone know of any form upload utilities which will allow me to upload 
files to an ASP.NET page without the need of a web browser?

I like to test a form upload page I wrote (no GUI, it only accepts a form 
post).

Thanks!

2.How to disable the upload file input field after success upload

I used the example from MS of file upload doc to create an upload vb.net 
page.  The page includes three file upload inputs. I tried to disable 
(make the input field disappear) after the file(s) was successfully 
uploaded.  If there were two files, then the 2 of three input should 
disappear.  If there is one, then one input should be disabled.  I tried 
to run a JavaScript function to do that, but failed.  Nothing happen.  I 
also tried to write out a JavaScript function that did not work either. 
   Can any one help me?  I only learn vb.net about a month.  I tried to 
use my ASP and JavaScript knowledge; apparently there are lots different.

here are part of the codes.  In .aspx javascript section I have such
function disableInput(n)
	{
	    vav j = 0 ;
         for( var i =0; i< document.form1.elements.length; i++){
              if( document.form1.elements[i].type =='file') {
                  document.form1.elements[i].style.visibility = 'hidden';
                  if ( (j + 1) == n )
                      return true;
              }
         }
     }

In my .aspx.vb file
  Private Sub Page_Load(ByVal sender As System.Object, ByVal e As 
System.EventArgs) Handles MyBase.Load

         If (Not IsPostBack) Then
            ...
         Else
          ..
             Button1.Attributes.Add("OnClick", "alert('The selected 
file(s) has been loaded.\nThe Order will be refreshed to reveal the 
file(s).');refreshOrder('" & [cart_id]() & "');self.close();")
         End If
  ....
     End Sub
Sub SubmitButton_Click(ByVal Source As Object, ByVal e As EventArgs)
         Dim filepath As String = 
ConfigurationSettings.AppSettings("FileStorage")
         Dim MAXSIZE As Integer = 
ConfigurationSettings.AppSettings("MAXSIZE")
         Dim uploadedFiles As HttpFileCollection = Request.Files
         Dim strFilenamesCollection As String = ""
         Dim i As Integer = 0

         Dim arrPostedFile As New ArrayList
         Dim fullFileName As String
         Span1.InnerHtml = Nothing

         If totalUpload(uploadedFiles) Then
             Do Until i = uploadedFiles.Count
                 Dim userPostedFile As HttpPostedFile = uploadedFiles(i)

                 Try
                     If (userPostedFile.ContentLength > 0) Then
                        ....
                         userPostedFile.SaveAs(filepath & "\" & cart_id 
& "~" & _
                            Path.GetFileName(userPostedFile.FileName))

                    .....
                         fullFileName = cart_id & "~" & 
Path.GetFileName(userPostedFile.FileName)
                         arrPostedFile.Add(fullFileName)

                     End If

                 Catch ex As Exception
                     Span1.InnerHtml += "Error:<br>" & ex.Message
                 End Try
                 i += 1
             Loop
             Span1.InnerHtml += "Above file(s) has been saved.<br>"
...
         Else
             Span1.InnerHtml = "<font color=red><b>Total file uploaded 
has exceeded " & MAXSIZE / 1000000 & " MB.</b></font>"
         End If

     End Sub
Private Sub disablePostedFileInout(ByVal n As Integer)
         Dim jScript As String

         jScript = "<script language='javascript'>"
         ' jScript = jScript & "function disableInput(" & n & " ) { "
         jScript = jScript & " var j = 0; "
         jScript = jScript & " for( var i =0; i< 
document.form1.elements.length; i++){"
         jScript = jScript & "  if( document.form1.elements[i].type 
=='file') { "
         jScript = jScript & " 
document.form1.elements[i].style.visibility = 'hidden'; "
         jScript = jScript & "   if ( (j + 1) == " & n & "  ) return; "
         jScript = jScript & " } ) "
         jScript = jScript & "</script>"
         RegisterStartupScript("DisableInput", jScript.ToString)

My question is how to call a javascript without using any control, such 
as button.

C Chang

3.Problem Uploading 10 meg files using built in.net file upload or aspupload

Somewhere between 9 - 11 megs I am unable to upload, using either
aspupload or the built-in uploading functionality.
here is the code from web.config
  <system.web>
	<httpRuntime maxRequestLength="35192" executionTimeout="1200" />
afer submitting the form, it takes a few minutes for the page to
process, then a blank page comes up, it appears to be doing more
processing, but the new page hangs indefinately.

4.Upload a file without file Upload control - ASP.Net

Hi All,

       I need to upload an XML file via an client side ActiveX control. I 
searched the web but everywhere got the samples of using file control alone. 
How can I upload a file into my web server without using the <input type 
="file" ....> control. 

      I need the same for Download also. Without displaying the Save as 
dialog box. Why I am asking this is I am going to handle this with my Client 
side ActiveX control.

     If anybody does knows this, please help me. Thanks is advance.

5.Upload and direct Processing of uploaded file using HtmlInputFile object

Try to upload a file and process or parse it directly without having to save
to the hard disk first and then being able to parse it. Currently I'm having
to upload a file using the HtmlInputFile object and then save it to the hard
disk, reopen it using the File.OpenText then do processing and resave it!

Any one have any ideas or references?


6. Virus-Scanning uploaded files uploaded?

7. File Upload specifying a default file to upload

8. File Upload (Email) and catching the Upload size of 4mb



Return to Visual Studio .Net

 

Who is online

Users browsing this forum: No registered users and 18 guest