If user cancel an upload in Ajax Browser it seems as if a partial file is left on server. I would expect that partially uploaded files are deleted. Is there a solution to this? or is it possible to remove the cancel option in UI?
ITHit Ajax Browser upload cancel issue, truncated file left on server
281 Views Asked by Sven Andersen At
1
There are 1 best solutions below
Related Questions in AJAX
- window.location.href redirects but is causing problems on the webpage
- Js variable to php using ajax
- TypeError: Failed to execute 'arrayBuffer' on 'Blob': Illegal invocation - Insert blob into database
- how do I change a URL with form to include additional selection
- why i have to put extra space in before write option selected because it show error if i don't ' option:selected'
- Opening modal through Update button with specified ID using ajax
- Events disappear randomly for full calendar module
- Ajax call reloads page in FrontAccounting, a PHP ERP solution
- Add newly added record to select2 element
- AJAX query cascading dropdown in django
- Failed to load resource: the server responded with a status of 403 () - SCRIPT - WordPress
- Maintaining search and sort state across paginated results in web application
- Getting POST 500 Internal server error while sending request via ajax call
- Wordpress server side datatable filtering
- Having a problem in datatables and fullcalendar scripts
Related Questions in WEBDAV
- Cannot load modules/mod_dav_svn.so into server
- How to properly disable certificate verification?
- Publicly-accessible WebDAV
- I have problem importing ITHit from 'webdav.client'
- Apache/webdav: "client used wrong authentication scheme"
- Problems saving excel documents with my custom wsgidav server
- Apache Jackrabbit WebDAV Put xml file successful but download empty file
- Doing a scripted batch rename of many files on a WebDAV (e.g. Nextcloud) share?
- Sharing browser cookies with an external application like "viewinfileexplorer" feature
- How can I upgrade the major version of Fedora CoreOS while excluding the davfs2 package?
- WebDAV - '/mnt/jfrog/': Transport endpoint is not connected
- Can I use WOPI instead of WEBDAV with MS Word desktop application
- WebDAV xml callback using PHP - sabre/dav
- How to configure IIS to allow HttpDelete without Removing WebDAVModule
- Why does Windows show restricted WebDAV directories?
Related Questions in ITHIT-AJAX-FILE-BROWSER
- IT-Hit WebDAV Library: passing Access-Token from webapp through WebDAV-Client to webDAV-Server possible?
- Firing same onclick function of multiple anchor tags using loop
- Behavior of DocManager.DavProtocolEditDocument with cookie authentication
- ithit-ajax-file-browser no longer works with Firefox 50
- IT Hit WebDAV AJAX Library - How to open multiple files in MS Word?
- WebDAV - Microsoft Excel 2016 not able to save back changes
- IT Hit WebDAV Ajax Browser Custom Columns
- IT Hit Ajax File Browser - Open OS's File Manager - login prompt
- ithit ajaxbrowser prompting for NPAPI plugin on non-office documents when using chrome browser
- Accessing WebDav from Server Link
- How can I redraw the ITHit Ajax File Browser in an Angular SPA when I've got all the instantiated parts?
- How to unlock a file taht was opened/edited/saved then re-opened using iTHit WebDAV Ajax library and iTHit Server?
- IThit Ajax browser 2.0
- Bug edit document with long patch on ajaxbrowser/Ajax Library
- How to use AJAX File Browser for editing PDF files
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Yes, you can remove the Cancel item from upload panel context menu. Please use following code:
Here you can find more information about menu customization. The context menu IDs (like 'CancelUpload' in the above example) are located in ITHitAJAXFileBrowser.js, you can easily find them among Phrases block, this part of code is not minified. The top level menu IDs (like the 'UploadProgressPanelMenu') are listed here in Menu object description.
If you are using IT Hit WebDAV Server Engine on server side, you can delete the file in IResumableUpload.CancelUpload implementation. Note that as soon as cancel upload command is asynchronous operation the upload may continue and your file may be blocked in your storage.
Because Cancel upload is asynchronous, this is the reason why Ajax File Browser can not delete the file directly during Cancel upload execution. The file is in most cases blocked on server side by upload.