Hi Fidel, Thanks for the links. I did search before, but I don't know much about asp.net, so nothing looked like the equivalent to the php script I posted. Hence, my asking for help.
Hi Derrick, Yes, I know this is a flex list. Even though it seems my question was not related to Flex, The application I am working on is in Flex (producing an AIR application), but I needed help with a server side script. Does make sense? If not, I apologize for the trouble. Gilbert --- In [email protected], "Fidel Viegas" <[EMAIL PROTECTED]> wrote: > > On Tue, Sep 30, 2008 at 6:16 PM, gilbert_mizrahi <[EMAIL PROTECTED]> wrote: > > I have been playing around uploading files from Flex/AIR to php with > > this script: > > > > <?php > > $tempFile = $_FILES['Filedata']['tmp_name']; > > $fileName = $_FILES['Filedata']['name']; > > > > if(move_uploaded_file($tempFile, "./videos/" . $fileName)) { > > echo "The file ". basename( $_FILES['uploadedfile']['name']). > > " has been uploaded successfully"; > > } else{ > > echo "There was an error uploading the file, please try again!"; > > } > > ?> > > > > What would be the equivalent for asp.net? > > Hi Gilbert, > > Before posting a question to this user group, I advise you to search > your answers on google. If you don't find them there, then you post > your question here. Usually, people do not answer to questions such as > the one you have just posted, because they can be easily found through > a google search. > Here are a few links I found using the words "uploading with asp.net": > > http://www.codeproject.com/KB/aspnet/fileupload.aspx > http://www.wrox.com/WileyCDA/Section/id-292158.html > http://www.4guysfromrolla.com/webtech/091201-1.shtml > http://www.ondotnet.com/pub/a/dotnet/2002/04/01/asp.html > http://www.aspheute.com/english/20000802.asp > > Hope that helps. > > All the best, > > Fidel. >

