I'm sure I am missing something really obvious. Drupal 7 + Webform + File (Field) paths.

I am uploading files (jpg, pdf, xls) in a webform and need to append the node NID to the original filename. But I can't seem to find a token for the name of the uploaded file.


  • node/123
  • Upload file abc.pdf.
  • rename it to '123-abc.pdf'

Tried these but they don't fetch the filename: [node:nid]-[file:original:ffp-name-only-original] and [node:nid]-[file_field:filename]



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.