I want to allow a user the ability to select the directory where they want to save an uploaded file. This is probably very easy but, here is a basic explanation of the user interaction. And the visual aid.
User selects directory for upload, user selects file to upload to said directory.
4 Answers, 1 is accepted
Hello, Chad,
Could you please share more details for the required use case?
This "Browse to Directory" button, where it should lead, to the client machine or somewhere on the server?
Please have in mind that the Upload component takes the files from the user system and uploads them to the server.
Regards,
Stefan
Progress Telerik
The user would basically be selecting a folder on a shared drive. Think of it as a shared drive with 20 client folders and the person uploading the file would want to choose the folder or sub folder for the client that the file was related to.
Essentially this would be an internal application and the browse functionality would allow the end user to upload to the directory of their choosing.
Hello, Chad,
Currently, this have to be achieved with custom logic.
The saveUrl of the component can be bound to the state and when the user chooses the directory this will set the correct URL for the Upload.
Please have in mind that we do not have a UI component for choosing a directory. If you have seen such a component, please share a link, and we can open a feature request for it as well.
Let me know if you need additional information on this matter.
Regards,
Stefan
Progress Telerik