-
-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server folder or file as input parameter for my script #137
Comments
Hi @fabianomenegidio, for file parameter you can you file_upload type. There are details on how it works: details Uploading the folder is not supported. And it would be complicated to implement, because it's not really supported by html standards and would work only in some browsers. Or did I understand your question wrong and you were asking about selecting a file/folder on the server? |
Choose a file or folder on the server (in a container where Script-Server would be installed). Tnx |
Hi @fabianomenegidio, unfortunately it's not supported at the moment. If you have limited amount of files, you can emulate this behaviour with a list parameter, specifying
|
Hi @fabianomenegidio, I'd keep the issue open until I add the feature |
There is another similar ticket: #147, which I can be addressed together. |
@csphoenix1 I added 'server_file' parameter type. It can be used for non-recursive file selection. For the user only filenames will be shown. In the script full path (i.e. Also added new parameter configuration fields: Example config:
Recursive file selection still to be done |
Added new parameter option: Also fixed interaction of Examples could be found in https://github.com/bugy/script-server/blob/master/samples/configs/parameterized.json |
…breadcrumb + fixed unfocused empty server_file field
How can I select a folder or file as input parameter for my script?
The text was updated successfully, but these errors were encountered: