fileZilla server more 260 chars error, win 10 LongPathEnabled=1

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
vg2k
500 Command not understood
Posts: 2
Joined: 2020-11-04 23:00
First name: kos
Last name: kos

fileZilla server more 260 chars error, win 10 LongPathEnabled=1

#1 Post by vg2k » 2020-11-04 23:07

Win 10
LongPathEnabled = 1 (gpedit and regedit) check via win cmd
FileZilla Server with long client path more 260 chars
got error on upload (create sub folder )
ftp client see it like custom client errors like "Filename invalid" "Internal error creating the directory." and etc

vg2k
500 Command not understood
Posts: 2
Joined: 2020-11-04 23:00
First name: kos
Last name: kos

Re: fileZilla server more 260 chars error, win 10 LongPathEnabled=1

#2 Post by vg2k » 2020-11-12 22:22

I FOUND ONLY ONE SOLUTION (WIN 10 works fine)

steps:

1. enable win long path (not for all soft)
1.1 Win+R -> gpedit.msc
1.2 Local Computer Policy -> Computer Configuration -> Administrative Templates -> System -> Filesystem -> NTFS (or one folder up)
1.3 set Enable NTFS long paths = 1

2. change Filezilla server target folder in config (texteditor) to UNC path
2.1 Setup the account in the UI. Point the directory to “c:temp” or similar.
2.2 Open up the “FileZilla Server.xml” located in the Filezilla install directory.
2.3 Find the corresponding user node “<User Name=”{username}”>
2.4 Under “<Permissions>” you will have an entry for each folder setup. Change the <Permission Dir=”C:temp”> to <Permission Dir=”\\?\C:temp”>
2.5 full reboot Filezilla server (windows)

User avatar
boco
Contributor
Posts: 25332
Joined: 2006-05-01 03:28
Location: Germany

Re: fileZilla server more 260 chars error, win 10 LongPathEnabled=1

#3 Post by boco » 2020-11-12 23:24

Beware! The \\?\X:\path\file syntax accesses the filesystem directly. I's possible to create some files or directories with names that would be invalid otherwise (CON, NUL, AUX, LPT1, COM1 etc.). Such files cannot be deleted by Explorer, but only by the same syntax used before.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

Post Reply