Mail-Box-Net-Disk
Mail-Box-Net-Disk copied to clipboard
无法下载
上传成功了,想要下载刚刚上传的文件,输入 maildisk -d <邮件文件夹> <本地文件> <云端文件> 提示如下错误: Unhandled exception. System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string. (Parameter 'startIndex') at System.String.Substring(Int32 startIndex, Int32 length) at System.String.Substring(Int32 startIndex) at maildisk.apis.VisualDisk.DownloadFile(String folderPath, String fileName, String local, ImapClient client, IList`1 all, IMailFolder folder) at maildisk.Program.Main(String[] args)
Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.83. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
maildisk -d <邮件文件夹> <本地文件> <云端文件>
把这段的实际命令发出来
还有就是 上传大文件后,文件会被拆分成多个.netdiskfile 为后缀的附件上传。 然而因为无法通过maildisk 软件下载的问题我希望自己把他们下载到本地后合并,可是并不知道怎么合并
maildisk -d INBOX baysian_notes_all.pdf baysian_notes_all.pdf
我上传了一个名为 baysian_notes_all.pdf 的文件,他在我的邮箱里,然后希望把他下载下来
还有就是 上传大文件后,文件会被拆分成多个.netdiskfile 为后缀的附件上传。 然而因为无法通过maildisk 软件下载的问题我希望自己把他们下载到本地后合并,可是并不知道怎么合并
把文件按顺序命名,直接使用cmd合并即可,例如
copy /b file1+file2+file3 file.zip
Dear Cheng,
这条命令是这样的:
maildisk -d INBOX baysian_notes_all.pdf baysian_notes_all.pdf
我上传了一个名为 baysian_notes_all.pdf 的文件,他在我的邮箱里,然后希望把他下载下来
然后他就出现错误了
Unhandled exception. System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string. (Parameter 'startIndex') at System.String.Substring(Int32 startIndex, Int32 length) at System.String.Substring(Int32 startIndex) at maildisk.apis.VisualDisk.DownloadFile(String folderPath, String fileName, String local, ImapClient client, IList`1 all, IMailFolder folder) at maildisk.Program.Main(String[] args)
Best,
L.
------------------ 原始邮件 ------------------ 发件人: "chenxuuu"[email protected]; 发送时间: 2019年9月30日(星期一) 下午5:09 收件人: "chenxuuu/Mail-Box-Net-Disk"[email protected]; 抄送: "彩虹后的阳光"[email protected];"Author"[email protected]; 主题: Re: [chenxuuu/Mail-Box-Net-Disk] 无法下载 (#2)
maildisk -d <邮件文件夹> <本地文件> <云端文件> 把这段的实际命令发出来
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
maildisk -d INBOX baysian_notes_all.pdf baysian_notes_all.pdf
目前代码不允许把文件放到根目录,所以你上传的时候就要注意在邮箱的文件夹里,再在前面加一个虚拟的路径,比如/path/xxxx.pdf
Hi,
好的,这个会了,谢谢!
------------------ 原始邮件 ------------------ 发件人: "chenxuuu"[email protected]; 发送时间: 2019年9月30日(星期一) 下午5:12 收件人: "chenxuuu/Mail-Box-Net-Disk"[email protected]; 抄送: "彩虹后的阳光"[email protected];"Author"[email protected]; 主题: Re: [chenxuuu/Mail-Box-Net-Disk] 无法下载 (#2)
还有就是 上传大文件后,文件会被拆分成多个.netdiskfile 为后缀的附件上传。 然而因为无法通过maildisk 软件下载的问题我希望自己把他们下载到本地后合并,可是并不知道怎么合并
把文件按顺序命名,直接使用cmd合并即可,例如 copy /b file1+file2+file3 file.zip
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
这个设定等有空的时候再修,目前最高优先级是先搞gui版本
我来研究一下哦!
在哪里加虚拟路径来着?
比如我希望它下载到本地文件夹放在这里: D:\Mail-Box-Net-Disk-1.0.2.2\win-x64\publish\notes.pdf
然后代码应该如何写?
------------------ 原始邮件 ------------------ 发件人: "chenxuuu"[email protected]; 发送时间: 2019年9月30日(星期一) 下午5:16 收件人: "chenxuuu/Mail-Box-Net-Disk"[email protected]; 抄送: "彩虹后的阳光"[email protected];"Author"[email protected]; 主题: Re: [chenxuuu/Mail-Box-Net-Disk] 无法下载 (#2)
这个设定等有空的时候再修,目前最高优先级是先搞gui版本
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
然后邮箱的文件夹它上传到了 INBOX 这个文件夹里面
------------------ 原始邮件 ------------------ 发件人: "chenxuuu"[email protected]; 发送时间: 2019年9月30日(星期一) 下午5:13 收件人: "chenxuuu/Mail-Box-Net-Disk"[email protected]; 抄送: "彩虹后的阳光"[email protected];"Author"[email protected]; 主题: Re: [chenxuuu/Mail-Box-Net-Disk] 无法下载 (#2)
maildisk -d INBOX baysian_notes_all.pdf baysian_notes_all.pdf
目前代码不允许把文件放到根目录,所以你上传的时候就要注意在邮箱的文件夹里,再在前面加一个虚拟的路径,比如/path/xxxx.pdf
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
正常步骤: 新建一个文件夹专用来存东西(防止其他邮件混在一起) 把文件上传到这个邮箱文件夹里,文件虚拟路径写个前缀 下载与上传参数基本相同
---原始邮件--- 发件人: "Thinking2018"<[email protected]> 发送时间: 2019年9月30日(星期一) 下午5:19 收件人: "chenxuuu/Mail-Box-Net-Disk"<[email protected]>; 抄送: "chenxuuu"<[email protected]>;"Comment"<[email protected]>; 主题: Re: [chenxuuu/Mail-Box-Net-Disk] 无法下载 (#2)
然后邮箱的文件夹它上传到了 INBOX 这个文件夹里面
------------------ 原始邮件 ------------------ 发件人: "chenxuuu"<[email protected]>; 发送时间: 2019年9月30日(星期一) 下午5:13 收件人: "chenxuuu/Mail-Box-Net-Disk"<[email protected]>; 抄送: "彩虹后的阳光"<[email protected]>;"Author"<[email protected]>; 主题: Re: [chenxuuu/Mail-Box-Net-Disk] 无法下载 (#2)
maildisk -d INBOX baysian_notes_all.pdf baysian_notes_all.pdf
目前代码不允许把文件放到根目录,所以你上传的时候就要注意在邮箱的文件夹里,再在前面加一个虚拟的路径,比如/path/xxxx.pdf
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
hi,
不怎么会操作呢 我上传文件名写 /myfiles/notes_all.pdf 代码这样写的: D:\Mail-Box-Net-Disk-1.0.2.2\win-x64\publish>maildisk -u INBOX notes_all.pdf /myfiles/notes_all.pdf
然后成功了,上传到了收件箱 收件箱里面出现了一封名为:[mailDisk]myfiles/notes_all.pdf 的邮件, 目前以前正常
然后想要下载 输入 maildisk -d INBOX bnotes.pdf /myfiles/notes_all.pdf
但是还是出现错误
Download file /myfiles/notes_all.pdf from INBOX as bnotes.pdf ... find 97 matchs in this folder fatching mails Unhandled exception. System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string. (Parameter 'startIndex') at System.String.Substring(Int32 startIndex, Int32 length) at System.String.Substring(Int32 startIndex) at maildisk.apis.VisualDisk.DownloadFile(String folderPath, String fileName, String local, ImapClient client, IList`1 all, IMailFolder folder) at maildisk.Program.Main(String[] args)
我不明白 你说的 文件虚拟路径写个前缀 是如何操作的,代码应该怎么写
------------------ 原始邮件 ------------------ 发件人: "chenxuuu"[email protected]; 发送时间: 2019年9月30日(星期一) 下午5:22 收件人: "chenxuuu/Mail-Box-Net-Disk"[email protected]; 抄送: "彩虹后的阳光"[email protected];"Author"[email protected]; 主题: Re: [chenxuuu/Mail-Box-Net-Disk] 无法下载 (#2)
正常步骤: 新建一个文件夹专用来存东西(防止其他邮件混在一起) 把文件上传到这个邮箱文件夹里,文件虚拟路径写个前缀 下载与上传参数基本相同
---原始邮件--- 发件人: "Thinking2018"<[email protected]> 发送时间: 2019年9月30日(星期一) 下午5:19 收件人: "chenxuuu/Mail-Box-Net-Disk"<[email protected]>; 抄送: "chenxuuu"<[email protected]>;"Comment"<[email protected]>; 主题: Re: [chenxuuu/Mail-Box-Net-Disk] 无法下载 (#2)
然后邮箱的文件夹它上传到了 INBOX 这个文件夹里面
------------------ 原始邮件 ------------------
发件人: "chenxuuu"<[email protected]>;
发送时间: 2019年9月30日(星期一) 下午5:13
收件人: "chenxuuu/Mail-Box-Net-Disk"<[email protected]>;
抄送: "彩虹后的阳光"<[email protected]>;"Author"<[email protected]>;
主题: Re: [chenxuuu/Mail-Box-Net-Disk] 无法下载 (#2)
maildisk -d INBOX baysian_notes_all.pdf baysian_notes_all.pdf
目前代码不允许把文件放到根目录,所以你上传的时候就要注意在邮箱的文件夹里,再在前面加一个虚拟的路径,比如/path/xxxx.pdf
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
去掉你开头的/
---原始邮件--- 发件人: "Thinking2018"<[email protected]> 发送时间: 2019年9月30日(星期一) 下午5:41 收件人: "chenxuuu/Mail-Box-Net-Disk"<[email protected]>; 抄送: "chenxuuu"<[email protected]>;"Comment"<[email protected]>; 主题: Re: [chenxuuu/Mail-Box-Net-Disk] 无法下载 (#2)
hi,
不怎么会操作呢 我上传文件名写 /myfiles/notes_all.pdf 代码这样写的: D:\Mail-Box-Net-Disk-1.0.2.2\win-x64\publish>maildisk -u INBOX notes_all.pdf /myfiles/notes_all.pdf
然后成功了,上传到了收件箱 收件箱里面出现了一封名为:[mailDisk]myfiles/notes_all.pdf 的邮件, 目前以前正常
然后想要下载 输入 maildisk -d INBOX bnotes.pdf /myfiles/notes_all.pdf
但是还是出现错误
Download file /myfiles/notes_all.pdf from INBOX as bnotes.pdf ... find 97 matchs in this folder fatching mails Unhandled exception. System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string. (Parameter 'startIndex') at System.String.Substring(Int32 startIndex, Int32 length) at System.String.Substring(Int32 startIndex) at maildisk.apis.VisualDisk.DownloadFile(String folderPath, String fileName, String local, ImapClient client, IList`1 all, IMailFolder folder) at maildisk.Program.Main(String[] args)
我不明白 你说的 文件虚拟路径写个前缀 是如何操作的,代码应该怎么写
------------------ 原始邮件 ------------------ 发件人: "chenxuuu"<[email protected]>; 发送时间: 2019年9月30日(星期一) 下午5:22 收件人: "chenxuuu/Mail-Box-Net-Disk"<[email protected]>; 抄送: "彩虹后的阳光"<[email protected]>;"Author"<[email protected]>; 主题: Re: [chenxuuu/Mail-Box-Net-Disk] 无法下载 (#2)
正常步骤:
新建一个文件夹专用来存东西(防止其他邮件混在一起)
把文件上传到这个邮箱文件夹里,文件虚拟路径写个前缀
下载与上传参数基本相同
---原始邮件---
发件人: "Thinking2018"<[email protected]>
发送时间: 2019年9月30日(星期一) 下午5:19
收件人: "chenxuuu/Mail-Box-Net-Disk"<[email protected]>;
抄送: "chenxuuu"<[email protected]>;"Comment"<[email protected]>;
主题: Re: [chenxuuu/Mail-Box-Net-Disk] 无法下载 (#2)
然后邮箱的文件夹它上传到了 INBOX 这个文件夹里面
------------------ 原始邮件 ------------------
发件人: "chenxuuu"<[email protected]>;
发送时间: 2019年9月30日(星期一) 下午5:13
收件人: "chenxuuu/Mail-Box-Net-Disk"<[email protected]>;
抄送: "彩虹后的阳光"<[email protected]>;"Author"<[email protected]>;
主题: Re: [chenxuuu/Mail-Box-Net-Disk] 无法下载 (#2)
maildisk -d INBOX baysian_notes_all.pdf baysian_notes_all.pdf
目前代码不允许把文件放到根目录,所以你上传的时候就要注意在邮箱的文件夹里,再在前面加一个虚拟的路径,比如/path/xxxx.pdf
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
还是不行欸
下载文件: D:\Mail-Box-Net-Disk-1.0.2.2\win-x64\publish>maildisk -d INBOX bnotes.pdf myfiles/notes_all.pdf Download file myfiles/notes_all.pdf from INBOX as bnotes.pdf ... find 98 matchs in this folder fatching mails Unhandled exception. System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string. (Parameter 'startIndex') at System.String.Substring(Int32 startIndex, Int32 length) at System.String.Substring(Int32 startIndex) at maildisk.apis.VisualDisk.DownloadFile(String folderPath, String fileName, String local, ImapClient client, IList`1 all, IMailFolder folder) at maildisk.Program.Main(String[] args)
------------------ 原始邮件 ------------------ 发件人: "chenxuuu"[email protected]; 发送时间: 2019年9月30日(星期一) 下午5:48 收件人: "chenxuuu/Mail-Box-Net-Disk"[email protected]; 抄送: "彩虹后的阳光"[email protected];"Author"[email protected]; 主题: Re: [chenxuuu/Mail-Box-Net-Disk] 无法下载 (#2)
去掉你开头的/
---原始邮件--- 发件人: "Thinking2018"<[email protected]> 发送时间: 2019年9月30日(星期一) 下午5:41 收件人: "chenxuuu/Mail-Box-Net-Disk"<[email protected]>; 抄送: "chenxuuu"<[email protected]>;"Comment"<[email protected]>; 主题: Re: [chenxuuu/Mail-Box-Net-Disk] 无法下载 (#2)
hi,
不怎么会操作呢
我上传文件名写 /myfiles/notes_all.pdf
代码这样写的:
D:\Mail-Box-Net-Disk-1.0.2.2\win-x64\publish>maildisk -u INBOX notes_all.pdf /myfiles/notes_all.pdf
然后成功了,上传到了收件箱
收件箱里面出现了一封名为:[mailDisk]myfiles/notes_all.pdf 的邮件, 目前以前正常
然后想要下载
输入
maildisk -d INBOX bnotes.pdf /myfiles/notes_all.pdf
但是还是出现错误
Download file /myfiles/notes_all.pdf from INBOX as bnotes.pdf ...
find 97 matchs in this folder
fatching mails
Unhandled exception. System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string. (Parameter 'startIndex')
at System.String.Substring(Int32 startIndex, Int32 length)
at System.String.Substring(Int32 startIndex)
at maildisk.apis.VisualDisk.DownloadFile(String folderPath, String fileName, String local, ImapClient client, IList`1 all, IMailFolder folder)
at maildisk.Program.Main(String[] args)
我不明白 你说的 文件虚拟路径写个前缀 是如何操作的,代码应该怎么写
------------------ 原始邮件 ------------------
发件人: "chenxuuu"<[email protected]>;
发送时间: 2019年9月30日(星期一) 下午5:22
收件人: "chenxuuu/Mail-Box-Net-Disk"<[email protected]>;
抄送: "彩虹后的阳光"<[email protected]>;"Author"<[email protected]>;
主题: Re: [chenxuuu/Mail-Box-Net-Disk] 无法下载 (#2)
正常步骤:
新建一个文件夹专用来存东西(防止其他邮件混在一起)
把文件上传到这个邮箱文件夹里,文件虚拟路径写个前缀
下载与上传参数基本相同
---原始邮件---
发件人: "Thinking2018"<[email protected]>
发送时间: 2019年9月30日(星期一) 下午5:19
收件人: "chenxuuu/Mail-Box-Net-Disk"<[email protected]>;
抄送: "chenxuuu"<[email protected]>;"Comment"<[email protected]>;
主题: Re: [chenxuuu/Mail-Box-Net-Disk] 无法下载 (#2)
然后邮箱的文件夹它上传到了 INBOX 这个文件夹里面
------------------ 原始邮件 ------------------
发件人: "chenxuuu"<[email protected]&gt;;
发送时间: 2019年9月30日(星期一) 下午5:13
收件人: "chenxuuu/Mail-Box-Net-Disk"<[email protected]&gt;;
抄送: "彩虹后的阳光"<[email protected]&gt;;"Author"<[email protected]&gt;;
主题: Re: [chenxuuu/Mail-Box-Net-Disk] 无法下载 (#2)
maildisk -d INBOX baysian_notes_all.pdf baysian_notes_all.pdf
目前代码不允许把文件放到根目录,所以你上传的时候就要注意在邮箱的文件夹里,再在前面加一个虚拟的路径,比如/path/xxxx.pdf
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
我这里测试是没问题的
pi@raspberrypi:~/maildisk $ ./maildisk -d sf15 ~/hd/1.torrent sf/mdtm-463/s.torrent
Download file sf/mdtm-463/s.torrent from sf15 as /home/pi/hd/1.torrent ...
find 1428 matchs in this folder
fatching mails
file sf/mdtm-463/s.torrent download success!
我建议你先用lf命令看看有没有这个文件
如果没有,你应该重新用cf命令自己新建个邮箱文件夹来专门放你的文件,然后上传到这个文件夹里面
Hi,
似乎并不行,我创建了一个名为files2的文件夹,并且用如下命令看了一下文件夹列表 D:\personal files\Mail-Box-Net-Disk-1.0.2.2\win-x64\publish>maildisk -lf getting all folders ... here's all folders: 其他文件夹 INBOX Sent Messages Drafts Deleted Messages Junk files2
可见 files2 文件夹是存在的
想要上传一个文件,并把文件名命名为 files2/ok2/FF.pdf ,可是失败了,他说找不到那个文件夹 代码如下: D:\personal files\Mail-Box-Net-Disk-1.0.2.2\win-x64\publish>maildisk -u files2 FormulaSheet.pdf files2/ok2/FF.pdf uploading file FormulaSheet.pdf to files2 as files2/ok2/FF.pdf ... [disk upload]upload files2/ok2/FF.pdf to mail folder files2, size:108323 [disk upload]appending... [disk Upload]fail, retry, infomation:The IMAP server replied to the 'APPEND' command with a 'NO' response: Folder not exist! [disk upload]upload files2/ok2/FF.pdf to mail folder files2, size:108323 [disk upload]appending... [disk Upload]fail, retry, infomation:The IMAP server replied to the 'APPEND' command with a 'NO' response: Folder not exist! [disk upload]upload files2/ok2/FF.pdf to mail folder files2, size:108323 [disk upload]appending... [disk Upload]fail, retry, infomation:The IMAP server replied to the 'APPEND' command with a 'NO' response: Folder not exist! [disk upload]upload files2/ok2/FF.pdf to mail folder files2, size:108323 [disk upload]appending... [disk Upload]fail, retry, infomation:The IMAP server replied to the 'APPEND' command with a 'NO' response: Folder not exist! [disk upload]upload files2/ok2/FF.pdf to mail folder files2, size:108323 [disk upload]appending... [disk Upload]fail, retry, infomation:The IMAP server replied to the 'APPEND' command with a 'NO' response: Folder not exist! [disk upload]upload files2/ok2/FF.pdf to mail folder files2, size:108323 [disk upload]appending...
然后那个下载似乎还是不行 用代码查看INBOX文件夹下的文件 D:\personal files\Mail-Box-Net-Disk-1.0.2.2\win-x64\publish>maildisk -l INBOX fetching file list with folder INBOX ... find 102 mails in this folder fatching mails 0/102 fatching mails 100/102 mails in 102 fatched ok. find file ai_clip_test.mp4 with 7 parts,checking... file ai_clip_test.mp4 check ok
done! list of files: baysian_notes_all.pdf myfiles/notes_all.pdf myfiles/notes_all.pdf Formula.pdf Formula.pdf INBOX/ok/Formula.pdf
然后希望下载 INBOX/ok/Formula.pdf 这个文件,并把它命名为ff.pdf作为本地的文件名
D:\personal files\Mail-Box-Net-Disk-1.0.2.2\win-x64\publish>maildisk -d INBOX ff.pdf INBOX/ok/Formula.pdf Download file INBOX/ok/Formula.pdf from INBOX as ff.pdf ... find 102 matchs in this folder fatching mails Unhandled exception. System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string. (Parameter 'startIndex') at System.String.Substring(Int32 startIndex, Int32 length) at System.String.Substring(Int32 startIndex) at maildisk.apis.VisualDisk.DownloadFile(String folderPath, String fileName, String local, ImapClient client, IList`1 all, IMailFolder folder) at maildisk.Program.Main(String[] args)
依然会出错
------------------ 原始邮件 ------------------ 发件人: "chenxuuu"[email protected]; 发送时间: 2019年10月5日(星期六) 上午8:56 收件人: "chenxuuu/Mail-Box-Net-Disk"[email protected]; 抄送: "彩虹后的阳光"[email protected];"Author"[email protected]; 主题: Re: [chenxuuu/Mail-Box-Net-Disk] 无法下载 (#2)
我这里测试是没问题的 pi@raspberrypi:~/maildisk $ ./maildisk -d sf15 ~/hd/1.torrent sf15/mdtm-463/s.torrent Download file sf15/mdtm-463/s.torrent from sf15 as /home/pi/hd/1.torrent ... find 1428 matchs in this folder fatching mails file sf15/mdtm-463/s.torrent download success!
我建议你先用lf命令看看有没有这个文件
如果没有,你应该重新用cf命令自己新建个邮箱文件夹来专门放你的文件,然后上传到这个文件夹里面
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
感觉这是邮箱服务商的问题 另外如果你用的是qq邮箱,试试“其他文件夹/files2”这个路径
---原始邮件--- 发件人: "Thinking2018"<[email protected]> 发送时间: 2019年10月5日(星期六) 上午9:28 收件人: "chenxuuu/Mail-Box-Net-Disk"<[email protected]>; 抄送: "chenxuuu"<[email protected]>;"Comment"<[email protected]>; 主题: Re: [chenxuuu/Mail-Box-Net-Disk] 无法下载 (#2)
Hi,
似乎并不行,我创建了一个名为files2的文件夹,并且用如下命令看了一下文件夹列表 D:\personal files\Mail-Box-Net-Disk-1.0.2.2\win-x64\publish>maildisk -lf getting all folders ... here's all folders: 其他文件夹 INBOX Sent Messages Drafts Deleted Messages Junk files2
可见 files2 文件夹是存在的
想要上传一个文件,并把文件名命名为 files2/ok2/FF.pdf ,可是失败了,他说找不到那个文件夹 代码如下: D:\personal files\Mail-Box-Net-Disk-1.0.2.2\win-x64\publish>maildisk -u files2 FormulaSheet.pdf files2/ok2/FF.pdf uploading file FormulaSheet.pdf to files2 as files2/ok2/FF.pdf ... [disk upload]upload files2/ok2/FF.pdf to mail folder files2, size:108323 [disk upload]appending... [disk Upload]fail, retry, infomation:The IMAP server replied to the 'APPEND' command with a 'NO' response: Folder not exist! [disk upload]upload files2/ok2/FF.pdf to mail folder files2, size:108323 [disk upload]appending... [disk Upload]fail, retry, infomation:The IMAP server replied to the 'APPEND' command with a 'NO' response: Folder not exist! [disk upload]upload files2/ok2/FF.pdf to mail folder files2, size:108323 [disk upload]appending... [disk Upload]fail, retry, infomation:The IMAP server replied to the 'APPEND' command with a 'NO' response: Folder not exist! [disk upload]upload files2/ok2/FF.pdf to mail folder files2, size:108323 [disk upload]appending... [disk Upload]fail, retry, infomation:The IMAP server replied to the 'APPEND' command with a 'NO' response: Folder not exist! [disk upload]upload files2/ok2/FF.pdf to mail folder files2, size:108323 [disk upload]appending... [disk Upload]fail, retry, infomation:The IMAP server replied to the 'APPEND' command with a 'NO' response: Folder not exist! [disk upload]upload files2/ok2/FF.pdf to mail folder files2, size:108323 [disk upload]appending...
然后那个下载似乎还是不行 用代码查看INBOX文件夹下的文件 D:\personal files\Mail-Box-Net-Disk-1.0.2.2\win-x64\publish>maildisk -l INBOX fetching file list with folder INBOX ... find 102 mails in this folder fatching mails 0/102 fatching mails 100/102 mails in 102 fatched ok. find file ai_clip_test.mp4 with 7 parts,checking... file ai_clip_test.mp4 check ok
done! list of files: baysian_notes_all.pdf myfiles/notes_all.pdf myfiles/notes_all.pdf Formula.pdf Formula.pdf INBOX/ok/Formula.pdf
然后希望下载 INBOX/ok/Formula.pdf 这个文件,并把它命名为ff.pdf作为本地的文件名
D:\personal files\Mail-Box-Net-Disk-1.0.2.2\win-x64\publish>maildisk -d INBOX ff.pdf INBOX/ok/Formula.pdf Download file INBOX/ok/Formula.pdf from INBOX as ff.pdf ... find 102 matchs in this folder fatching mails Unhandled exception. System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string. (Parameter 'startIndex') at System.String.Substring(Int32 startIndex, Int32 length) at System.String.Substring(Int32 startIndex) at maildisk.apis.VisualDisk.DownloadFile(String folderPath, String fileName, String local, ImapClient client, IList`1 all, IMailFolder folder) at maildisk.Program.Main(String[] args)
依然会出错
------------------ 原始邮件 ------------------ 发件人: "chenxuuu"<[email protected]>; 发送时间: 2019年10月5日(星期六) 上午8:56 收件人: "chenxuuu/Mail-Box-Net-Disk"<[email protected]>; 抄送: "彩虹后的阳光"<[email protected]>;"Author"<[email protected]>; 主题: Re: [chenxuuu/Mail-Box-Net-Disk] 无法下载 (#2)
我这里测试是没问题的 pi@raspberrypi:~/maildisk $ ./maildisk -d sf15 ~/hd/1.torrent sf15/mdtm-463/s.torrent Download file sf15/mdtm-463/s.torrent from sf15 as /home/pi/hd/1.torrent ... find 1428 matchs in this folder fatching mails file sf15/mdtm-463/s.torrent download success!
我建议你先用lf命令看看有没有这个文件
如果没有,你应该重新用cf命令自己新建个邮箱文件夹来专门放你的文件,然后上传到这个文件夹里面
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Hi,
刚刚创建的files2文件夹居然又莫名其妙地消失了! D:\personal files\Mail-Box-Net-Disk-1.0.2.2\win-x64\publish>maildisk -lf getting all folders ... here's all folders: 其他文件夹 INBOX Sent Messages Drafts Deleted Messages Junk
但是在网页版可以看到它是有这个文件夹的
我确实用的是qq邮箱,另外可否问下您用的是什么邮箱,我去试试
Best
L.
------------------ 原始邮件 ------------------ 发件人: "chenxuuu"[email protected]; 发送时间: 2019年10月5日(星期六) 上午9:41 收件人: "chenxuuu/Mail-Box-Net-Disk"[email protected]; 抄送: "彩虹后的阳光"[email protected];"Author"[email protected]; 主题: Re: [chenxuuu/Mail-Box-Net-Disk] 无法下载 (#2)
感觉这是邮箱服务商的问题 另外如果你用的是qq邮箱,试试“其他文件夹/files2”这个路径
---原始邮件--- 发件人: "Thinking2018"<[email protected]> 发送时间: 2019年10月5日(星期六) 上午9:28 收件人: "chenxuuu/Mail-Box-Net-Disk"<[email protected]>; 抄送: "chenxuuu"<[email protected]>;"Comment"<[email protected]>; 主题: Re: [chenxuuu/Mail-Box-Net-Disk] 无法下载 (#2)
Hi,
似乎并不行,我创建了一个名为files2的文件夹,并且用如下命令看了一下文件夹列表
D:\personal files\Mail-Box-Net-Disk-1.0.2.2\win-x64\publish>maildisk -lf
getting all folders ...
here's all folders:
其他文件夹
INBOX
Sent Messages
Drafts
Deleted Messages
Junk
files2
可见 files2 文件夹是存在的
想要上传一个文件,并把文件名命名为 files2/ok2/FF.pdf ,可是失败了,他说找不到那个文件夹
代码如下:
D:\personal files\Mail-Box-Net-Disk-1.0.2.2\win-x64\publish>maildisk -u files2 FormulaSheet.pdf files2/ok2/FF.pdf
uploading file FormulaSheet.pdf to files2 as files2/ok2/FF.pdf ...
[disk upload]upload files2/ok2/FF.pdf to mail folder files2, size:108323
[disk upload]appending...
[disk Upload]fail, retry, infomation:The IMAP server replied to the 'APPEND' command with a 'NO' response: Folder not exist!
[disk upload]upload files2/ok2/FF.pdf to mail folder files2, size:108323
[disk upload]appending...
[disk Upload]fail, retry, infomation:The IMAP server replied to the 'APPEND' command with a 'NO' response: Folder not exist!
[disk upload]upload files2/ok2/FF.pdf to mail folder files2, size:108323
[disk upload]appending...
[disk Upload]fail, retry, infomation:The IMAP server replied to the 'APPEND' command with a 'NO' response: Folder not exist!
[disk upload]upload files2/ok2/FF.pdf to mail folder files2, size:108323
[disk upload]appending...
[disk Upload]fail, retry, infomation:The IMAP server replied to the 'APPEND' command with a 'NO' response: Folder not exist!
[disk upload]upload files2/ok2/FF.pdf to mail folder files2, size:108323
[disk upload]appending...
[disk Upload]fail, retry, infomation:The IMAP server replied to the 'APPEND' command with a 'NO' response: Folder not exist!
[disk upload]upload files2/ok2/FF.pdf to mail folder files2, size:108323
[disk upload]appending...
然后那个下载似乎还是不行
用代码查看INBOX文件夹下的文件
D:\personal files\Mail-Box-Net-Disk-1.0.2.2\win-x64\publish>maildisk -l INBOX
fetching file list with folder INBOX ...
find 102 mails in this folder
fatching mails 0/102
fatching mails 100/102
mails in 102 fatched ok.
find file ai_clip_test.mp4 with 7 parts,checking...
file ai_clip_test.mp4 check ok
done! list of files:
baysian_notes_all.pdf
myfiles/notes_all.pdf
myfiles/notes_all.pdf
Formula.pdf
Formula.pdf
INBOX/ok/Formula.pdf
然后希望下载 INBOX/ok/Formula.pdf 这个文件,并把它命名为ff.pdf作为本地的文件名
D:\personal files\Mail-Box-Net-Disk-1.0.2.2\win-x64\publish>maildisk -d INBOX ff.pdf INBOX/ok/Formula.pdf
Download file INBOX/ok/Formula.pdf from INBOX as ff.pdf ...
find 102 matchs in this folder
fatching mails
Unhandled exception. System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string. (Parameter 'startIndex')
at System.String.Substring(Int32 startIndex, Int32 length)
at System.String.Substring(Int32 startIndex)
at maildisk.apis.VisualDisk.DownloadFile(String folderPath, String fileName, String local, ImapClient client, IList`1 all, IMailFolder folder)
at maildisk.Program.Main(String[] args)
依然会出错
------------------ 原始邮件 ------------------
发件人: "chenxuuu"<[email protected]>;
发送时间: 2019年10月5日(星期六) 上午8:56
收件人: "chenxuuu/Mail-Box-Net-Disk"<[email protected]>;
抄送: "彩虹后的阳光"<[email protected]>;"Author"<[email protected]>;
主题: Re: [chenxuuu/Mail-Box-Net-Disk] 无法下载 (#2)
我这里测试是没问题的
pi@raspberrypi:~/maildisk $ ./maildisk -d sf15 ~/hd/1.torrent sf15/mdtm-463/s.torrent Download file sf15/mdtm-463/s.torrent from sf15 as /home/pi/hd/1.torrent ... find 1428 matchs in this folder fatching mails file sf15/mdtm-463/s.torrent download success!
我建议你先用lf命令看看有没有这个文件
如果没有,你应该重新用cf命令自己新建个邮箱文件夹来专门放你的文件,然后上传到这个文件夹里面
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
Hi,
试了 "其他文件夹/files", 但也是不行的
D:\personal files\Mail-Box-Net-Disk-1.0.2.2\win-x64\publish>maildisk -u 其他文件夹/files2 FormulaSheet.pdf files2/ok2/FF2.pdf uploading file FormulaSheet.pdf to 其他文件夹/files2 as files2/ok2/FF2.pdf ... [disk upload]upload files2/ok2/FF2.pdf to mail folder 其他文件夹/files2, size:108323 [disk upload]appending... [disk Upload]fail, retry, infomation:The requested folder could not be found. [disk upload]upload files2/ok2/FF2.pdf to mail folder 其他文件夹/files2, size:108323 [disk upload]appending... [disk Upload]fail, retry, infomation:The requested folder could not be found. [disk upload]upload files2/ok2/FF2.pdf to mail folder 其他文件夹/files2, size:108323 [disk upload]appending... [disk Upload]fail, retry, infomation:The requested folder could not be found. [disk upload]upload files2/ok2/FF2.pdf to mail folder 其他文件夹/files2, size:108323 [disk upload]appending... [disk Upload]fail, retry, infomation:The requested folder could not be found. [disk upload]upload files2/ok2/FF2.pdf to mail folder 其他文件夹/files2, size:108323 ^C
------------------ 原始邮件 ------------------ 发件人: "chenxuuu"[email protected]; 发送时间: 2019年10月5日(星期六) 上午9:41 收件人: "chenxuuu/Mail-Box-Net-Disk"[email protected]; 抄送: "彩虹后的阳光"[email protected];"Author"[email protected]; 主题: Re: [chenxuuu/Mail-Box-Net-Disk] 无法下载 (#2)
感觉这是邮箱服务商的问题 另外如果你用的是qq邮箱,试试“其他文件夹/files2”这个路径
---原始邮件--- 发件人: "Thinking2018"<[email protected]> 发送时间: 2019年10月5日(星期六) 上午9:28 收件人: "chenxuuu/Mail-Box-Net-Disk"<[email protected]>; 抄送: "chenxuuu"<[email protected]>;"Comment"<[email protected]>; 主题: Re: [chenxuuu/Mail-Box-Net-Disk] 无法下载 (#2)
Hi,
似乎并不行,我创建了一个名为files2的文件夹,并且用如下命令看了一下文件夹列表
D:\personal files\Mail-Box-Net-Disk-1.0.2.2\win-x64\publish>maildisk -lf
getting all folders ...
here's all folders:
其他文件夹
INBOX
Sent Messages
Drafts
Deleted Messages
Junk
files2
可见 files2 文件夹是存在的
想要上传一个文件,并把文件名命名为 files2/ok2/FF.pdf ,可是失败了,他说找不到那个文件夹
代码如下:
D:\personal files\Mail-Box-Net-Disk-1.0.2.2\win-x64\publish>maildisk -u files2 FormulaSheet.pdf files2/ok2/FF.pdf
uploading file FormulaSheet.pdf to files2 as files2/ok2/FF.pdf ...
[disk upload]upload files2/ok2/FF.pdf to mail folder files2, size:108323
[disk upload]appending...
[disk Upload]fail, retry, infomation:The IMAP server replied to the 'APPEND' command with a 'NO' response: Folder not exist!
[disk upload]upload files2/ok2/FF.pdf to mail folder files2, size:108323
[disk upload]appending...
[disk Upload]fail, retry, infomation:The IMAP server replied to the 'APPEND' command with a 'NO' response: Folder not exist!
[disk upload]upload files2/ok2/FF.pdf to mail folder files2, size:108323
[disk upload]appending...
[disk Upload]fail, retry, infomation:The IMAP server replied to the 'APPEND' command with a 'NO' response: Folder not exist!
[disk upload]upload files2/ok2/FF.pdf to mail folder files2, size:108323
[disk upload]appending...
[disk Upload]fail, retry, infomation:The IMAP server replied to the 'APPEND' command with a 'NO' response: Folder not exist!
[disk upload]upload files2/ok2/FF.pdf to mail folder files2, size:108323
[disk upload]appending...
[disk Upload]fail, retry, infomation:The IMAP server replied to the 'APPEND' command with a 'NO' response: Folder not exist!
[disk upload]upload files2/ok2/FF.pdf to mail folder files2, size:108323
[disk upload]appending...
然后那个下载似乎还是不行
用代码查看INBOX文件夹下的文件
D:\personal files\Mail-Box-Net-Disk-1.0.2.2\win-x64\publish>maildisk -l INBOX
fetching file list with folder INBOX ...
find 102 mails in this folder
fatching mails 0/102
fatching mails 100/102
mails in 102 fatched ok.
find file ai_clip_test.mp4 with 7 parts,checking...
file ai_clip_test.mp4 check ok
done! list of files:
baysian_notes_all.pdf
myfiles/notes_all.pdf
myfiles/notes_all.pdf
Formula.pdf
Formula.pdf
INBOX/ok/Formula.pdf
然后希望下载 INBOX/ok/Formula.pdf 这个文件,并把它命名为ff.pdf作为本地的文件名
D:\personal files\Mail-Box-Net-Disk-1.0.2.2\win-x64\publish>maildisk -d INBOX ff.pdf INBOX/ok/Formula.pdf
Download file INBOX/ok/Formula.pdf from INBOX as ff.pdf ...
find 102 matchs in this folder
fatching mails
Unhandled exception. System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string. (Parameter 'startIndex')
at System.String.Substring(Int32 startIndex, Int32 length)
at System.String.Substring(Int32 startIndex)
at maildisk.apis.VisualDisk.DownloadFile(String folderPath, String fileName, String local, ImapClient client, IList`1 all, IMailFolder folder)
at maildisk.Program.Main(String[] args)
依然会出错
------------------ 原始邮件 ------------------
发件人: "chenxuuu"<[email protected]>;
发送时间: 2019年10月5日(星期六) 上午8:56
收件人: "chenxuuu/Mail-Box-Net-Disk"<[email protected]>;
抄送: "彩虹后的阳光"<[email protected]>;"Author"<[email protected]>;
主题: Re: [chenxuuu/Mail-Box-Net-Disk] 无法下载 (#2)
我这里测试是没问题的
pi@raspberrypi:~/maildisk $ ./maildisk -d sf15 ~/hd/1.torrent sf15/mdtm-463/s.torrent Download file sf15/mdtm-463/s.torrent from sf15 as /home/pi/hd/1.torrent ... find 1428 matchs in this folder fatching mails file sf15/mdtm-463/s.torrent download success!
我建议你先用lf命令看看有没有这个文件
如果没有,你应该重新用cf命令自己新建个邮箱文件夹来专门放你的文件,然后上传到这个文件夹里面
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
qq邮箱是有文件夹消失的bug,原因不明 你多试试吧,我一直用QQ邮箱测试的,树莓派上面测的