parted icon indicating copy to clipboard operation
parted copied to clipboard

Parted fails when using absolute Windows paths

Open mickmuzac opened this issue 11 years ago • 0 comments

If the upload path includes the drive letter, then the newest version of Parted seems to fail using Node 0.10.x on Windows 7.

I'm using Parted as an Express middleware with these options:

var options = {
    // custom file path
    path: 'c:\\temp',
    // memory usage limit per request
    limit: 30 * 1024,
    // disk usage limit per request
    diskLimit: 30 * 1024 * 1024,
    // enable streaming for json/qs
    stream: true
};

Note that it doesn't fail when options.path is set to \\temp or /temp.

mickmuzac avatar Jan 17 '14 12:01 mickmuzac