setTimeout(null); $process->run(); if (!$process->isSuccessful()) { $this->error($process->getErrorOutput()); return self::FAILURE; } $this->info('FTP synchronization completed successfully.'); return self::SUCCESS; } }