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.