Re: ftp upload with mac browser using asp.net
From: psb (pbellman_at_msn.com)
Date: 04/16/04
- Next message: Jeremy: "Re: DataGrid Column Width is broken - is this a bug?"
- Previous message: John Saunders: "Re: What does EnsureChildControls really Ensure?"
- In reply to: Kevin Spencer: "Re: ftp upload with mac browser using asp.net"
- Next in thread: Kevin Spencer: "Re: ftp upload with mac browser using asp.net"
- Reply: Kevin Spencer: "Re: ftp upload with mac browser using asp.net"
- Messages sorted by: [ date ] [ thread ]
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
> >
> >
> >
>
>
- Next message: Jeremy: "Re: DataGrid Column Width is broken - is this a bug?"
- Previous message: John Saunders: "Re: What does EnsureChildControls really Ensure?"
- In reply to: Kevin Spencer: "Re: ftp upload with mac browser using asp.net"
- Next in thread: Kevin Spencer: "Re: ftp upload with mac browser using asp.net"
- Reply: Kevin Spencer: "Re: ftp upload with mac browser using asp.net"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|