Re: Creating a File Depot

From: Steve C. Orr [MVP, MCSD] (Steve_at_Orr.net)
Date: 02/05/04


Date: Thu, 5 Feb 2004 13:36:34 -0800

You are correct. Use the "File Field" control on the HTML toolbar.

-- 
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Jerry Camel" <rlrcstr@msn.com> wrote in message
news:ul9XR2C7DHA.2300@TK2MSFTNGP10.phx.gbl...
> Maybe the problem is that I was making this much more complicated than it
> apparently is.
> I'm assuming you mean the "File Field" control on the HTML toobar, right?
> Or am I missing one on the "Web Forms" toolbar?
>
> Your help is very appreciated.
>
> Jerry
>
> "Steve C. Orr [MVP, MCSD]" <Steve@Orr.net> wrote in message
> news:euroKvC7DHA.1632@TK2MSFTNGP12.phx.gbl...
> > In short, you can use the file upload control on your toolbar, or type
it
> > into the HTML manually.
> > <input type=file id=myFile runat=server />
> > This allows the user to upload files to your site.  You can then use the
> > server side events of this control to save the file wherever you'd like
on
> > your server hard drive or in a database.
> > Then you could use Response.Writefile to send the file back out again.
> > Here's more info:
> >
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebhttpresponseclasswritefiletopic.asp
> >
> > Here's a couple good tutorials on the subject for you:
> >
http://www.aspnetpro.com/features/2003/07/asp200307so_f/asp200307so_f.asp
> > http://aspalliance.com/das/tutorial/fileupload.aspx
> >
> > -- 
> > I hope this helps,
> > Steve C. Orr, MCSD, MVP
> > http://Steve.Orr.net
> >
> >
> > "Jerry Camel" <rlrcstr@msn.com> wrote in message
> > news:exAuDmC7DHA.2480@TK2MSFTNGP12.phx.gbl...
> > > I'm trying to create a file depot that will hold files for 24 hours
and
> > then
> > > kill them.  Basically a temporary place for people to post something
> that
> > > will automatically notify the person that it's posted for.  Although
I'm
> > new
> > > to ASP and HTML, I've got quite a bit of development experience.  If
> this
> > > wasn't web based it'd be a peice of cake...  But I'm not sure how to
do
> a
> > > couple of things through the web...
> > >
> > > I figure I'll write a service that will clean up the files - easy.
> User's
> > > will login and be presented with a list of files waiting for them. -
> > Mostly
> > > done.
> > >
> > > Users can transfer files to the server - How? How do I have a user
> select
> > a
> > > local file and have it copied to a pre-determined place on the server?
> > Then
> > > I need to accomplish the opposite:  Have them select a file waiting
for
> > them
> > > and have it copied to a specified location on their drive.  How do you
> do
> > > this through a web page?  How can you make it secure so that people
> can't
> > > get to these files without going through this interface?  Any help is
> > > greatly appreciated.
> > >
> > > Thanks
> > >
> > > Jerry
> > >
> > >
> >
> >
>
>


Relevant Pages

  • Re: Creating a File Depot
    ... I'm assuming you mean the "File Field" control on the HTML toobar, ... Jerry ... > In short, you can use the file upload control on your toolbar, or type it ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Using the IE control
    ... > If I use the IE control - can I stream dynamically generated HTML for ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb.controls)
  • PersistenceMode/DesignerSerializationVisibility problem
    ... I have created a control with a property derived from ... serialize it. ... If I add a toolbar in code when the control is created, ... but is not persisted as an InnerProperty on my HTML ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)
  • Re: What Is The Goal?
    ... Not really, Jerry. ... A single payer plan which is tax based would reduce the cost for most. ... The basic reason why government rations care, is to keep control of their cost growth. ... It does not work to control prices in the long run. ...
    (soc.retirement)
  • Re: oe6 reading mail showing as html raw source?
    ... > CWShredder, Ad-aware, Spybot, HijackThis ... > the Windows Profile is damaged, not OE or any identities, and, barring ... That control is, apparently, being fed from ... normal data and is being transcoded into HTML improperly. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)