Grazie..

Ma non credo che il mio sia un problema di esecuzione dello script..
Oggi ho scritto il msg un po" di fretta e non mi sono spiegato bene del tutto..

Lo script non va in crash x via del tempo di esecuzione ma da un errore del tipo 'file di origine non trovato'..


Some mandatory file not specified!
Verify origin_file and destination_file


Guardando la classe:


Codice PHP:
function upload($source_file,$destination_file){
    
        
// if file name not specified alert and exit
        // otherwise make the upload
        
if  ((!isset($source_file))||(!isset($destin
ation_file
))){
           echo 
"Some mandatory file not specified!
"
;
           echo 
"Verify origin_file and destination_file.";    
        } else {
            
$upload ftp_put ($this->conn_id$destination_file$source_fileFTP_BINARY);
            
// controllo dello stato di upload
            
if ($upload==false) { 
                echo 
"
FTP Loading didn't succeded - SOURCE 
$source_file";
            } else {
                
//$this-> changePermission($destination_file,744);

                
if ($this->verbose==true)
                     echo 
"
Correctly loaded file 
$source_file on $this->ftp_server as $destination_file";
            }
        }        
    } 

Sul server upload_max_filesize è impostato a 20mb, ma questo parametro vale anche x gli upload con le funzioni di FTP??

Cmq ho provato un file di 15 mb ed ho ottenuto lo stesso errore..