On 25.06.2012 17:10, Joschi Brauchle wrote:
Autoyast's file section currently allows me to:
- Fetch files from remote source using
<file_location>http://my.server.site/issue</file_location> for example.
- Create directories by adding a slash, i.e.,
<file_path>/mydir/a/b/c/</file_path>
So, natural question: Can Autoyast fetch directories by combining both?
<file_location>http://my.server.site/issue/</file_location><!-- note the slash --> <file_path>/mydir/a/b/c/</file_path>
If not, I will use a script to do that... but it would be nice :-)
HTTP does not allow listing of files which makes that impossible. I can not know what files are inside the directory on the HTTP server.
But it does not work for local files or protocols that allow file listing (like ftp) either. You have to specify the filename(s).