Skip to content

Found a couple of problems #17821

@jcldg

Description

@jcldg

Bugs/improvements

  1. From duck --help, the link "https://help.duck.sh" is not accessible.

  2. Deb package repository installation
    The command
    apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FE7097963FEFBE72
    Leads to
    Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
    Executing: /tmp/apt-key-gpghome.SiBaXRGMXc/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys FE7097963FEFBE72
    gpg: key F7FAE1F32DA69515: public key "Cyberduck [email protected]" imported
    gpg: Total number processed: 1
    gpg: imported: 1
    W: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file
    has an unsupported filetype.

  3. Synchronization of the repository
    apt-get update
    Get:15 https://s3.amazonaws.com/repo.deb.cyberduck.io stable/main i386
    Packages [342 B]
    Fetched 3’955 B in 2s (1’790 B/s)
    Reading package lists... Done
    W: https://s3.amazonaws.com/repo.deb.cyberduck.io/dists/stable/InRelease:
    Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg),
    see the DEPRECATION section in apt-key(8) for details.

  4. Edit option
    The option --edit doesn't seem to be not working.
    I tested with my Swisscom cloud (webdavs) as follow:
    $ duck --username MYUSERNAME --application /usr/bin/vim --edit davs://webdav.mycloud.ch/siteweb/test.sh

    Login successful…
    Unknown. Application /usr/bin/vim not found.

  5. Renaming not working as shown in the doc
    duck --move protocol://
    Does not work:
    $ duck --username MYUSERNAME --move davs://webdav.mycloud.ch/siteweb/age.txt myfile.txt

    Renaming age.txt to /…
    Cannot rename age.txt. Unexpected response (400 Bad Request).
    Please contact your web hosting service provider for assistance.

    But this is working:
    $ duck --username MYUSERNAME --move davs://webdav.mycloud.ch/age.txt davs://webdav.mycloud.ch/myfile.txt

    Renaming age.txt to gio.txt…
    To be clarified in the doc

  6. Moving remote file to remote directory
    $ duck --username MYUSERNAME --move davs://webdav.mycloud.ch/age.sh test/

    Renaming age.sh to /…
    Cannot rename age.sh. Unexpected response (400 Bad Request).
    Please contact your web hosting service provider for assistance.

    But this is working:

    $ duck --username MYUSERNAME --move davs://webdav.mycloud.ch/age.txt davs://webdav.mycloud.ch/GIO/age.txt

    Renaming age.txt to age.txt…
    Note:
    This information "Renaming age.txt to age.txt…" is not accurate. Actually it moves the file, it does not rename it.

  7. Deleting
    The following command is deleting all directories and files independently from the instruction - .jpg:
    $ duck --username MYUSERNAME --delete davs://webdav.mycloud.ch/
    .jpg

  8. Access to GoogleDrive is not working:
    $ duck --username MYUSERNAME --list googledrive:/
    I get:
    https://accounts.google.com/o/oauth2/auth?client_id=996125414232-...
    Open web browser to authenticate and obtain an authorization code
    I click on the link, it opens a Google web page "Connect to Google" and I choose my account.
    I get a confirmation on my phone and select the correct number to confirm I'm the right person.
    Then the web page displays that Cyberduck wants to access to my Google account, which I accept.
    But the terminal is stuck to the "Open web browser to authenticate and obtain an authorization code".
    I must do a CTRL-C to stop the process.
    Note:
    I have access from Windows via Mountain Duck. Could it interfere with Duck CLI?

To Reproduce
Detailed in the previous points if any.

Desktop :

  • OS: Linux Mint
  • Version: 21.1 (Vera)

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliCommand Line Interface

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions