Im <locations>-Container definieren Sie die Orte, von denen importiert werden soll, und wie Sie importieren möchten (lokal, ftp/ftps, SFTP/SCP).
Das locations Element wird nur benötigt, wenn
<locations> <location id="local" type="filesystem"> <path>/path/to/_import/</path> </location> <location id="ftp" type="ftp"> <path><a>ftps://username:password@ftp.server.com:21/path/to/_import</a></path> <passive>true</passive> </location> <location id="ftps" type="ftp"> <path><a>ftps://username:password@ftp.server.com:21/path/to/_import</a></path> <passive>true</passive> </location> <location id="ssh_sftp" type="ssh"> <path><a>sftp://username:password@ssh.server.com:22/path/to/_import</a></path> </location> <location id="ssh_scp1" type="ssh"> <path><a>ssh://username:password@ssh.server.com:22/path/to/_import</a></path> </location> <location id="ssh_scp2" type="ssh"> <path><a>scp://username:password@ssh.server.com:22/path/to/_import</a></path> </location> </locations>
<location id="local" type="filesystem"> <path>/path/to/_import/</path> </location>
<location id="ftp" type="ftp"> <path><a>ftps://username:password@ftp.server.com:21/path/to/_import</a></path> <passive>true</passive> </location> <location id="ftps" type="ftp"> <path><a>ftps://username:password@ftp.server.com:21/path/to/_import</a></path> <passive>true</passive> </location>
<location id="ssh_sftp" type="ssh"> <path><a>sftp://username:password@ssh.server.com:22/path/to/_import</a></path> </location> <location id="ssh_scp1" type="ssh"> <path><a>ssh://username:password@ssh.server.com:22/path/to/_import</a></path> </location> <location id="ssh_scp2" type="ssh"> <path><a>scp://username:password@ssh.server.com:22/path/to/_import</a></path> </location>