"Rudy" <Ru**@discussions.microsoft.com> wrote in message
news:F3**********************************@microsof t.com...
I know you can save the file path to SQL from where you took a file from,
like c:/documents.mypictures. And you would use the sFileName =
browsefile.PostedFile.FileName
But if I want to save the file path of the folder I'm saving to like
c:/newpictureplace.
How would I code that?
I'm not sure I fully understand what you're asking... Presumably, you're
talking about the HtmlInputFile control here... You're correct that the
PostedFile.FileName property gives you the fully qualified filespec of where
you're uploading the file from (relative to the client's PC, obviously) and,
to save it on the server, you would use the PostedFile.SaveAs method,
specifying a filespec on the server to save the file into...