1.Coldfusion


<cfprocessingdirective pageencoding="utf-8">
<cfcontent type="text/html; charset=utf-8">
<cfset setEncoding("URL", "utf-8")>
<cfset setEncoding("Form", "utf-8")>
<cfset serverPath = "D:\wwwroot\srcfile\">
<cffile action="upload" filefield="form.Filedata" nameconflict="Overwrite" destination="#serverPath#">

2.ASP.Net


string saveToFolder = "savedFiles"
private void Page_Load(object sender, System.EventArgs e) { 
  HttpFileCollection uploadedFiles =  Request.Files; 
  string Path = Server.MapPath(saveToFolder); 
  for(int i = 0 ; i < uploadedFiles.Count ; i++) 
  { 
    HttpPostedFile F = uploadedFiles[i]; 
    if(uploadedFiles[i] != null && F.ContentLength > 0) 
    {   
      string newName = F.FileName.Substring(F.FileName.LastIndexOf("\\") + 1); 
      F.SaveAs(Path + "/" + newName); 
     } 
   }
}

3.PHP

<?php
//path to storage
$storage = 'userUploads';
//path name of file for storage
$uploadfile = "$storage/" . basename(

INSERT:CONTENT:END FILES['Filedata']['name'] );
//if the file is moved successfully
if ( move_uploaded_file(

INSERT:CONTENT:END FILES['Filedata']['tmp_name'] , $uploadfile ) ) {
  echo( '1 ' .

INSERT:CONTENT:END FILES['Filedata']['name']);
//file failed to move
}else{
  echo( '0');
}
? >