# File Upload

#(mode)#

This form can be used to upload a file and assign it to an url. Example usage is the direct attachment of a content management system to YaCy to push newly changed files directly to the YaCy indexer.

File Count
  #[count]#
synchronous
commit
Files to process:
#{input}#
  File Number
    #[count]#
  Data
    data-#[count]#=
  URL
    url-#[count]#=
  Collection
    collection-#[count]#=
  Last-Modified
    responseHeader-#[count]#=
  Content-Type
    responseHeader-#[count]#=
    The following attributes are only used for media type content
  Media-Title
    responseHeader-#[count]#=
  Media-Keywords ()
    responseHeader-#[count]#=
#{/input}#

:: Result for the recently submitted file(s). You can also submit the same form using the servlet push_p.json to get push confirmations in json format.

count
  #[count]#
successall
  #(successall)#false::true#(/successall)#
countsuccess
  #[countsuccess]#
countfail
  #[countfail]#

Item | URL | Success | Message
--- | --- | --- | ---
#{results}#
#[item]# | #[url]# | #(success)#fail::ok#(/success)# | #(success)##[message]#::#[message]##(/success)#
#{/results}#

If you want to push again files, use this form to pre-define a number of upload forms:

#(/mode)#