Modify UploadFile
See original GitHub issueHello
I perfer to using filename_fixed = file.replace(" ", "_")
instead of filename_fixed = os.path.basename(file).replace(" ", "_")
.
In my case, I have many folders in submission folder, but there is file which have same name(MainActivity.java)
in different folder. So the result report can not tell me which folder it is in.More importantly, in report, the different link MainActivity.java
point to the same MainActivity.java
!
Directory Structure Example
- No.1 - MainActivity.java
|
Submission - - No.2 - MainActivity.java
|
- No.3- MainActivity.java
If you agree, I would create my pull request 😃
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
Uploading modified files (Standard UI) - IBM
Go to Administration > Manage System Files. Select the system file type. Navigate to the file that you want to upload the newest...
Read more >Upload, edit, and manage files - Mindjet Help Server
You can upload, edit, manage, and share your files with other users using commands on the project view or library view ribbon, and...
Read more >How do I upload and modify files/sub-folders in a read-only ...
To upload read-only files and sub-folders, do one of the following: Ask the owner of the folder to change the permission level to...
Read more >Upload files and folders to Google Drive - Computer
You can upload, view, share, and edit files with Google Drive. When you upload a file to Google Drive, it will take up...
Read more >File Uploads - Django documentation
You can only modify upload handlers before accessing request.POST or request.FILES – it doesn't make sense to change upload handlers after upload handling ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@nareddyt Sorry, I’m late. I am not familiar with python and this project(囧). So, if you can handle you can do that, I will try my best to help(some suggestion and test). OK?
Yes, having a
file_path
and adisplay_name
makes a lot more sense! Then you would pass in the full path to the file, but also a friendly display name.@YsingYang do you want to handle that or should I do that?