I have to upload some videos files for streaming purpose. While uploading the videos as a ftp user, it will have the ftp user and group permission. But now in my case, the files uploaded by the ftp user should have root user and group permission. Is there any way to upload in such a way?.. Now I am using vsftpd
you can re-configure your ftpd to run as root, and there for all files written by ftpd will have root permissions, although this is not very recommended.
root user can access files that are owned by ftp user, there is no need to change owner ship if root is the one who will be opening those files.
You might be better leaving the ftp daemon running as it is and instead post processing by running a little shell script using root's crontab that checks for new files in the ftp upload folder and runs a chown command if it finds any, or just chown's the whole directory and its contents if you like, once a minute.