Re: ftp upload with mac browser using asp.net

From: psb (pbellman_at_msn.com)
Date: 04/16/04


Date: Fri, 16 Apr 2004 14:18:19 -0400

yeah, yeah. http, i hear ya! the code is a cake walk in asp.net... it is
so easy that I feel like I am doing something wrong, and since macOS ONLY
people are nearing 100% failure rate, I though there would be more to it
than a couple lines of code. is this the code I have to check? do you
think I am missing anything?

<input type="file" id="txbUpload" runat="server"/>
----------------------------------------------------
dim sFile as string = txbUpload.PostedFile.FileName
sFile = GetFileNameWithoutPath()
dim sFullPath as string = "c:\tmp\" & sFile
txtUpload.PostedFile.SaveAs(sFullPath)

thanks,
Paul

"Kevin Spencer" <kspencer@takempis.com> wrote in message
news:ecs0hm9IEHA.3720@TK2MSFTNGP11.phx.gbl...
> What you're describing is NOT FTP, but HTTP. The input type="file" HTML
> element sends the uploaded file with the form's HTTP POST request. I am
not
> aware of any issues with this type of form field in Mac browsers. I would
> have to guess that your issue lies somewhere in your server-side code
which
> is handling the upload. It isn't necessary for you to buy or install
> anything, only to debug your code.
>
> --
> HTH,
> Kevin Spencer
> .Net Developer
> Microsoft MVP
> Big things are made up
> of lots of little things.
>
> "psb" <pbellman@msn.com> wrote in message
> news:uI6Pit8IEHA.1140@tk2msftngp13.phx.gbl...
> > I have a file upload Web page using
> > System.Web.UI.HtmlControls.HtmlInputFile. Anyone have any issues
> uploading
> > files using MacOS browsers of any sort?? Almost all of them bomb on our
> > server. Is there something I need to put in the web.config or page
> > directive that will allow ftp uploading on a Mac. What is funny is we
> have
> > a ClassicASP file that does this, and it is WAY more reliable. It is
> nasty
> > code -adodb.streams and all... Asp.net really wrapped all of that junk,
> > although it isn't working the .net way. I really don't want to purchase
a
> > ActiveXDll control that does the same thing, or purchase an active x
> control
> > that clients will mess up... I just want a simle <input type="file"
> > id="file1" runat="Server" />
> >
> > -Paul
> >
> >
> >
>
>



Relevant Pages

  • RE: submit button issues?
    ... Firstly to work with forms you must upload as an HTTP file, ... When it asks you to save, choose in my network places, if you dont see it ... How to publish a Publisher web in HTTP: ...
    (microsoft.public.publisher.webdesign)
  • Re: Upload problem on entire FC5 system
    ... HTTP requests only seem to lag. ... > I have been having an issue with upload from Apache on FC5 ... your ISP might be bandwidth limiting your ... I don't care how many levels of reality you posit; ...
    (Fedora)
  • RE: http uploading
    ... phone and sent over 40 emails trying to reslove this form issue, MS Publisher ... Are you using XP or Vista. ... It seems that the password that you use to upload through http is the FPSE ...
    (microsoft.public.publisher.webdesign)
  • Re: restriction for Access documents?
    ... from SharePoint to allow the upload, when you click on the file, you will be ... This is not a restriction of SharePoint but of the HTTP protocol. ... Access Database files) are ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Upload file without user interaction - VBA
    ... available method is using an HTTP form and the POST method. ... You probably need to use FTP, not HTTP. ... Your posting first says I want to upload files which is FTP. ...
    (microsoft.public.excel.programming)