Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG:Windows 10环境下下载到网络磁盘报错 #46

Open
PlayerYao opened this issue Jun 24, 2020 · 1 comment
Open

BUG:Windows 10环境下下载到网络磁盘报错 #46

PlayerYao opened this issue Jun 24, 2020 · 1 comment
Labels
question Further information is requested

Comments

@PlayerYao
Copy link

PlayerYao commented Jun 24, 2020

  • 类型:bug
  • 级别:中等(影响正常功能但可以避免
  • OS版本: Windows10 1909
  • 环境版本:Node.js12.18.1LTS
  • 操作方式:管理员模式运行的cmd命令提示符
  • 复现流程:
  1. 将一个网络磁盘映射为Z:
  2. 在程序里设置下载目录为: Z:\Images\pixiv,此时设置里是正常显示的(即显示为Z:\Images\pixiv)
  3. 执行下载命令时pxder -f 报错,目录变成了Z:\\Images\\pixiv,路径分隔符都变成了双斜杠,提示找不到文件夹
  • 期望的结果
    可以正常执行下载流程

  • 暂时的替代方式
    1.使用一个网络位置,即直接写为\\ip\Tower\Images\pixiv,这样可以正常下载

  • P.S.我现在无法附上截图因为我正在下载图片


希望作者可以检查一下这个问题

@Tsuk1ko
Copy link
Owner

Tsuk1ko commented Jun 24, 2020

输出错误时因为反斜杠\要被转义所以会显示\\,是正常的,并不是因为这个导致路径错误

我拿自己 NAS (SMB) 映射的网络磁盘试了下没能复现,一切正常

@Tsuk1ko Tsuk1ko added the question Further information is requested label Jun 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants