-reload-config issue

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
dadib
550 Permission denied
Posts: 25
Joined: 2007-10-03 10:49

-reload-config issue

#1 Post by dadib » 2007-10-26 09:00

Hey,
I'm having this application in wich I add new users from C# in the FileZilla server.xml, then call the -reload-config argument for the FileZilla server.exe.

Sometimes (not all the times) when I want to write to the config file I'm geting this exception :

Code: Select all

The process cannot access the file 'E:\Server FileZilla\FileZilla Server.xml' because it is being used by another process.
Has someone encounter this error before?

I will be very happy is someone help's me with this. :)
Daniel

dadib
550 Permission denied
Posts: 25
Joined: 2007-10-03 10:49

#2 Post by dadib » 2007-10-26 10:24

I have found this solution.

After I -reload-config i have put some wait time, 500 ms ... and is working all time, no more errors.

other solution?

Daniel :D

Post Reply