Date: Fri, 29 Mar 2024 02:34:09 +0100 (CET) Message-ID: <1131007360.751.1711676049372@mi-documantation-prod.internal.cloudapp.net> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_750_299520954.1711676049359" ------=_Part_750_299520954.1711676049359 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
You have the option to replace video files using your account vi= a FTP. This is helpful for replacing very large files.
In order to replace videos via FTP upload, you need to configure your ac=
count as described in our manual, see the FTP Upload section. In the XML file you =
have to specify the file name of the new video and the videoId
=
of the video that you want to replace.
Like a normal upload you can use the Workspace folder t= o upload the new video file with the corresponding XML file. They should be= uploaded in this order: video file =E2=86=92 XML file. This is becaus= e the XML file is what triggers the upload.
In order for your replacement to succ= eed, your XML file must comply with our internal schema. Format your XML fi= le according to the schema in the sample file below.
To ensure your replacement is success= ful, you must format your XML file similarly to the one below:
&l= t;?xml version=3D"1.0" encoding=3D"UTF-8" ?> <replace xmlns=3D"http://schemas.video-cdn.net/vmpro/public/v1/ingest/ft= p/replace.xsd"> <source> <file>new_video.mp4</file> </source> <videoId>EaxGum-r_cMRsggTC5eM7i6qU</videoId> </replace>
When uploading your XML file, we check against our internal validation sche=
ma (shown below).
&l= t;?xml version=3D"1.0" encoding=3D"UTF-8" ?> <schema xmlns=3D"http://www.w3.org/2001/XMLSchema" targetNamespace=3D"http://schemas.video-cdn.net/vmpro/public/v1/ing= est/ftp/replace.xsd" elementFormDefault=3D"qualified"> <element name=3D"replace"> <complexType> <all> <element name=3D"source" minOccurs=3D"1" maxOccurs=3D"1"= > <complexType> <all minOccurs=3D"1" maxOccurs=3D"1"> <element name=3D"file" minOccurs=3D"1" maxOc= curs=3D"1"> <simpleType> <restriction base=3D"string"> <minLength value=3D"1"/> <pattern value=3D"[^/\\]+"/> </restriction> </simpleType> </element> </all> </complexType> </element> <element name=3D"videoId" type=3D"string" minOccurs=3D"1= " maxOccurs=3D"1"/> </all> </complexType> </element> </schema>