Re: Renaming File

  •  08-23-2010, 7:33 PM

    Re: Renaming File

     Adam,
     
    I tried to use the following code from option 2.
    $filename = str_replace(' ', '_', $mvcfile->FileName);
    $mvcfile->CopyTo($uploadpath.$filename);
     
    But Im getting this error Call to a member function CopyTo() on a non-object.
     
    Jesse
View Complete Thread