Importing Users from another FTP Server

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
astahl
504 Command not implemented
Posts: 6
Joined: 2011-08-16 12:03
First name: Ashley
Last name: Stahl

Importing Users from another FTP Server

#1 Post by astahl » 2011-08-16 12:18

I have an old server that is using Ipswitch WS_FTP Server.
I have the data for usernames, passwords, folders and such, and would
like to import this into FileZilla Server. I see that the FileZilla Server.xml
holds all the information plus an encoded password. Is it possible for me to write
a program to import the users into the FileZilla Server.xml and create an encoded
password that FileZilla Server will understand?

Does FileZilla Server have anyway of doing this?


Ashley Stahl

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

Re: Importing Users from another FTP Server

#2 Post by boco » 2011-08-16 17:32

If you just build an XML file with the correct syntax FileZilla Server will have no problem using it. The ''encoded'' password is just plain MD5 hash.
### 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 ###

astahl
504 Command not implemented
Posts: 6
Joined: 2011-08-16 12:03
First name: Ashley
Last name: Stahl

Re: Importing Users from another FTP Server

#3 Post by astahl » 2011-08-16 21:28

Boco, Thanks that is exactly what I needed to know.

Ashley

astahl
504 Command not implemented
Posts: 6
Joined: 2011-08-16 12:03
First name: Ashley
Last name: Stahl

Re: Importing Users from another FTP Server

#4 Post by astahl » 2011-08-18 18:38

Boco,

I built the xml file FileZilla Server.xml withe the added users triple checked the xml and FileZilla Server
still only reads the first 3 I added manually. None of the rest will show in the Users section of the program.

So what else must be done?


Ashley Stahl

User avatar
botg
Site Admin
Posts: 33053
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Importing Users from another FTP Server

#5 Post by botg » 2011-08-18 20:37

Have you validated the XML to be syntactically correct?

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

Re: Importing Users from another FTP Server

#6 Post by boco » 2011-08-18 21:05

XML syntax is very strict AFAIK. Only one rogue whitespace can cause it to fail. botg is right, you should validate.
### 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 ###

astahl
504 Command not implemented
Posts: 6
Joined: 2011-08-16 12:03
First name: Ashley
Last name: Stahl

Re: Importing Users from another FTP Server

#7 Post by astahl » 2011-08-19 00:54

I have validated the xml file online and it found no errors in the file.

So what else could cause this?


Ashley

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

Re: Importing Users from another FTP Server

#8 Post by boco » 2011-08-19 04:22

What's your OS and where did you install FZ Server to?
### 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 ###

astahl
504 Command not implemented
Posts: 6
Joined: 2011-08-16 12:03
First name: Ashley
Last name: Stahl

Re: Importing Users from another FTP Server

#9 Post by astahl » 2011-08-19 10:27

WIndows 2008 Server...intalled to C:\Program Files(86)\FileZilla


Ashley

astahl
504 Command not implemented
Posts: 6
Joined: 2011-08-16 12:03
First name: Ashley
Last name: Stahl

Re: Importing Users from another FTP Server

#10 Post by astahl » 2011-08-19 12:19

To All,

Thanks for all the help!!! It took 2 reboots of the server to actually get it working!

All is now good. One suggestion that might be nice is when the FileZilla interface
is opened a "Refresh" button in the user section that would re-read the xml file and then
display.


Ashley

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

Re: Importing Users from another FTP Server

#11 Post by boco » 2011-08-19 23:53

After copying the new XML over the old one while FZ Server is still running, you must call the FileZilla Server.exe with the parameter /reload-config once.
### 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