Check uploading of files in the Workpace by the drag and drop facility on Windows Operating System
|Status:||Closed||Start date:||Sep 13, 2018|
|Assignee:||Francesco Mangiacrapa||% Done:|
|Sprint:||zz - Workpsace Uploader Enhancements|
We noticed that on Windows Operating System the uploading of files in the gCube Workspace by the drag and drop facility creates a file having the source full path as filename.
We should investigate on the Workspace Uploader Widget.
#2 Updated by Massimiliano Assante over 1 year ago
Assuming the back slash "\" char as "illegal" One should check the filename returned bu the browser e.g. "D:\Users\gkakas\svn\h2020-aginfraplus@madgik\project\meetings\2018-09-10to12 Interim Review @ Luxemburg\AGINFRA+_Review_WP4.pptx" If it contains a "\" you just substring the filename to the lastIndexOf("\")+1, str.length(). If no "\" is present you keep doing what you're doing.