uploadDir can be provided
Merge pull request #2 from PavelJurasek/feature-uploadDir

 uploadDir can be provided