Skip to content

Uploading a directory with single file was messing up with filename #208

@milanchandna

Description

@milanchandna

Description

Uploading the files from directory with single file messes up the destination filename.
Ideally destination filename should have similar filename as of source file and directory structure should be similar.
But rather destination filename is the name of source directory and source filename is not being used.


Reproduction Steps

Sample Command: Command arguments ['dls', 'fs', 'upload', '--account', 'xxx', '--thread-count', '50', '--source-path', '/foo/bar', '--destination-path', '/foo/bar']

Environment summary

SDK Version: What version of the SDK are you using? (pip show azure-datalake-store)
Answer here:
0.0.17
Python Version: What Python version are you using? Is it 64-bit or 32-bit?
Answer here:

OS Version: What OS and version are you using?
Answer here:

Shell Type: What shell are you using? (e.g. bash, cmd.exe, Bash on Windows)
Answer here:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions