Total path and file name length must not exceed 260 characters. Classico FTP

This topic has 10 replies, 2 voices, and was last updated 8 years, 6 months ago ago by Eva Kemp

  • Avatar: GHD
    GHD
    Participant
    October 19, 2015 at 19:12

    Hello, I am trying to unzip the install files to upload via FTP. I have shortened the file name to c.zip and placed it on the route of my drive to shorten the path to files. Even after doing this I get 7586 errors using win-rar (unable to use unzip). The issues primarily deal with files inside the “node_modules” folder. Here is a snipet of the errors I get.

    ! F:\C.zip: Cannot create folder classico\node_modules\grunt-contrib-imagemin\node_modules\imagemin\node_modules\imagemin-gifsicle\node_modules\gifsicle\node_modules\bin-wrapper\node_modules

    \bin-version-check\node_modules\bin-version\node_modules\find-versions\node_modules\semver-regex
    The filename or extension is too long.
    ! F:\C.zip: Cannot create classico\node_modules\grunt-contrib-imagemin\node_modules\imagemin\node_modules\imagemin-gifsicle\node_modules\gifsicle\node_modules\bin-wrapper\node_modules\bin-

    version-check\node_modules\bin-version\node_modules\find-versions\node_modules\semver-regex\index.js
    Total path and file name length must not exceed 260 characters
    The system cannot find the path specified.

    9 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    October 19, 2015 at 20:33
    Avatar: GHD
    GHD
    Participant
    October 19, 2015 at 22:49

    Hi, basically all 3 links said the same which is what I did before writing the comment. The problem is that even when doing other changes like renaming the “classico” theme folder to 1 character like “C” I still have 280 character path from root:
    F:\c\node_modules\grunt-contrib-imagemin\node_modules\imagemin\node_modules\imagemin-gifsicle\node_modules\gifsicle\node_modules\bin-wrapper\node_modules\download\node_modules\got\node_modules\read-all-stream\node_modules\readable-stream\node_modules\process-nextick-args\index.js

    Avatar: Eva
    Eva Kemp
    Support staff
    October 20, 2015 at 11:02

    Hello,

    Did you try this solution?

    Place the zip file in your root directory (ie. c:\ d:\) and extract the contents from there. Repeat as necessary. I might also try opening the zip file with the Windows Explorer, right clicking on the contents and hitting “copy” and then go to your C:\ drive and do a paste.

    Are you able to extract the archive on other PC?

    Regards,
    Eva Kemp.

    Avatar: GHD
    GHD
    Participant
    October 20, 2015 at 15:32

    As mentioned above I have unzipped in the root folder (though I typed route). I also provided the path that showed it was in the root. I have attempted to unzip on a different computer and the file is “invalid”.

    With a quick google search it appears that there is an issue with “grunt” and file paths being too long… though it may be in conjunction with something else you are doing. What appears to be a solution is to “flatten” your build.

    I have limited knowledge on the subject on how grunt works or how this theme was built but I do know that there is a 260 character path limit within windows and your current “installable” file will not unzip or upload to a site to be installed.

    This was not an issue in version 1.2 (or maybe earlier, I bought the theme 2 months ago) but is now one in version 1.3.

    With the removal of the node_modules folder I can upload and unzip.

    Avatar: Eva
    Eva Kemp
    Support staff
    October 20, 2015 at 16:26

    Hello,

    So have you resolved the issue?

    Regards,
    Eva Kemp.

    Avatar: GHD
    GHD
    Participant
    October 20, 2015 at 16:29

    No. The issue is not resolved… its something your developers need to figure out. I’m just providing you with information for a solution. I can not unzip the file nor can I upload to install because of the path length of files within the node_modules folder.

    Avatar: Eva
    Eva Kemp
    Support staff
    October 20, 2015 at 17:09

    Hello,

    I’ve replied to you in the other topic. Please check it.

    Regards,
    Eva Kemp.

    Avatar: GHD
    GHD
    Participant
    October 20, 2015 at 17:18

    Hello,

    I’ve replied to you in the other topic. Please check it.

    Regards,
    Greg

    Avatar: Eva
    Eva Kemp
    Support staff
    October 20, 2015 at 18:57

    Hello,

    I’m closing this topic as you’ve already created other topic with the same issue.

    Regards,
    Eva Kemp.

  • Viewing 10 results - 1 through 10 (of 10 total)

The issue related to '‘Total path and file name length must not exceed 260 characters. Classico FTP’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.