Cyberduck Mountain Duck CLI

#5727 closed enhancement (fixed)

[Windows version] No option to disable Multipart Upload

Reported by: patrickdos Owned by: dkocher
Priority: normal Milestone: 4.0
Component: s3 Version: 4.0b9
Severity: normal Keywords:
Cc: Architecture:
Platform: Windows XP

Description

Hi,

Could please implement a way to disable the multipart upload ? Actually some S3 compliant providers doesn't support this feature so far .

Thanks

Change History (4)

comment:1 Changed on Feb 25, 2011 at 2:46:30 PM by patrickdos

For the sake of the completeness : It looks like in this part of the code if the multipart failed that not retry in normal .

  this.getSession().message(MessageFormat.format(Locale.localizedString("Uploading {0}", "Status"),
                        this.getName()));

                if(this.getLocal().attributes().getSize() > DEFAULT_MULTIPART_UPLOAD_THRESHOLD) {
                    this.uploadMultipart(throttle, listener, object);
                }
                else {
                    // No Content-Range support
                    status().setResume(false);
                    this.uploadSingle(throttle, listener, object);
                }
            }
        }
        catch(ServiceException e) {
            this.status().setComplete(false);
            this.error("Upload failed", e);
        }
        catch(IOException e) {
            this.error("Upload failed", e);
        }


Last edited on Feb 25, 2011 at 2:58:11 PM by dkocher (previous) (diff)

comment:2 Changed on Feb 25, 2011 at 2:58:30 PM by dkocher

We could easily disable multipart uploads for all endpoints that are not aws.amazon.com.

comment:3 Changed on Feb 25, 2011 at 2:58:52 PM by dkocher

  • Milestone set to 4.0

comment:4 Changed on Feb 25, 2011 at 3:38:37 PM by dkocher

  • Resolution set to fixed
  • Status changed from new to closed

In r8398.

Note: See TracTickets for help on using tickets.
swiss made software