I still use asp classic as I don't get the new asp.net. I don't know a good
site or book that will start you off in the beginning and work your way up
to pro. It is confusing. So I use asp classic which works well on most the
stuff I do anyway. And yes you need to upload a file to someplace in order
to know the code works.


Mike Belcher
System Administrator



 if obj.IsFile( "File1" ) <> 0  and obj.GetSize("File1") > 0 then
  if obj.Save( "File1" ) = 0 then
    ' Save file is successful
   Response.Write obj.GetFileName("File1") & " has been saved at " &
TargetDir & "<BR>"
   Set objNewMail = Server.CreateObject("CDONTS.NewMail")
   objNewMail.To = strTo
   objNewMail.From = strEmail
   objNewMail.Bcc = strBCC
   objNewMail.Subject = strSubject
   objNewMail.Body = strBody
   objNewMail.Send
   Set objNewMail = Nothing
----- Original Message ----- 
From: "BobFilipiak" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 10, 2004 10:35 AM
Subject: Re: [AspClassicAnyQuestionIsOk] file upload file to nowhere


> Why? What specifically are you trying to do? If you are testing code the
> test will be flawed if the code is supposed to upload a file and you don't
> actually upload a file.
>
> Since this groups is for classic ASP, you may get a quicker answer at
> http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
>
> Bob Filipiak
> A question not asked
>   is a lost opportunity to learn.
> ----- Original Message ----- 
> From: "Brian Qing" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, June 09, 2004 6:05 PM
> Subject: [AspClassicAnyQuestionIsOk] file upload file to nowhere
>
>
> > In ASP.NET, when I am writing a testing code, I want to upload file to
> null device.  Assuming 'fileUpload' is the name of the Html file upload
> control.  I do not want to use
> >
> > fileUpload.PostedFile.SaveAs(SaveLocation)
> >
> > to save the file to disk.  I want to just sent the uploaded file(in web
> server) to null device.  Does anyone know how to do it?  Thanks.
> >
> >
> > ---------------------------------
> > Do you Yahoo!?
> > Friends.  Fun. Try the all-new Yahoo! Messenger
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 

Reply via email to