Jump to content
The Uniform Server Community

Portable FileZilla FTPd


Ric
 Share

Recommended Posts

I like SlimFTPd it is extremely easy to use however it lacks SSL support I recently had a requirement for a secure FTP server and tried FileZilla.

 

To my surprise its not only easy to use but architecturally very flexible because of this investigated its portability and use as a plugin for Uniform Server.

 

If you are interested a write-up and download can be found on the Wiki Portable FileZilla FTPd

 

All the best

Ric :blink:

Link to comment
Share on other sites

  • 4 months later...

Ric,

I'm upgrading to Mona (which works perfectly 'out of the box') and want Filezilla Server to work as it does on 3.5 Apollo. The instruction you provided in the UniCenter are clear but don't match the new bat files for starting/stopping the server(s). Could you update the steps (in your spare time <g>) for US 4.0?

 

I've tried to insert these two lines:

 

:### New for FileZilla Server ##################################

rem Update FileZilla drive letter

CALL udrive\filezilla_server\change_drive_letter.bat %Disk%

rem Start FileZilla Server

CALL udrive\filezilla_server\filezilla_start.bat

:###############################################################

 

but these fail with the message: cannot find path. Where, exactly should these two lines be inserted in the NEW Server_start.bat file?

 

Tks

UniformServer 5.x, CodeIgniter, Gimp. What else could anyone want?

Link to comment
Share on other sites

File_zilla

 

Place the code between the lines shown.

 

For Server_Start.bat

 

udrive\home\admin\program\unidelay.exe

:### New for FileZilla Server ##################################

rem Update FileZilla drive letter

CALL udrive\filezilla_server\change_drive_letter.bat %Disk%

rem Start FileZilla Server

CALL udrive\filezilla_server\filezilla_start.bat

:#####################################################

%Disk%:

 

For Stop.bat

 

if exist udrive\usr\local\apache2\logs\drive.txt del udrive\usr\local\apache2\logs\drive.txt

:### New for FileZilla Server##################

CALL udrive\filezilla_server\filezilla_stop.bat

:####################################

rem Stop Apache indirectly stops MySQL

 

Will update the Wiki when I have time

 

Note: Once you have it working copy over libeay32.dll and ssleay32.dll

from folder UniServer\udrive\plugins\key_cert_gen\gen to UniServer\udrive\filezilla_server create new certs. They are the latest libs.

 

 

All the best

Ric :)

Link to comment
Share on other sites

Ric,

Thanks for the quick reply. Fixed the two batch files and updated the two libraries.

 

However, I now get an error during startup:

 

"permission denied at change_drive.pl at line 34"

 

Nothing else works right from there forward.

 

obviously this is happening at the FIRST line of code added to server_start.bat, but...

I do have change_drive.pl and change_drive_letter.bat in the filezilla_server folder.

 

This is my code from Server_start.bat:

 

...

:next

udrive\home\admin\program\unidelay.exe

 

:### New for FileZilla Server ##################################

rem Update FileZilla drive letter

CALL udrive\filezilla_server\change_drive_letter.bat %Disk%

rem Start FileZilla Server

CALL udrive\filezilla_server\filezilla_start.bat

:###############################################################

 

%Disk%:

IF NOT EXIST %Disk%:\NUL GOTO :next

...

 

Any guess as to why?

Tks

UniformServer 5.x, CodeIgniter, Gimp. What else could anyone want?

Link to comment
Share on other sites

Oops I got it slightly wrong. :)

 

For Server_Start.bat

 

Place the code as shown I have added additional lines to make it clearer:

 

udrive\home\admin\program\unidelay.exe

%Disk%:

IF NOT EXIST %Disk%:\NUL GOTO :next

 

:### New for FileZilla Server ##################

rem Update FileZilla drive letter

CALL \filezilla_server\change_drive_letter.bat %Disk%

rem Start FileZilla Server

CALL \filezilla_server\filezilla_start.bat

:#####################################

 

rem ### Drive was created. Create variables for paths and programs

set apachepath=\usr\local\apache2\

 

Note 1: You need to remove udrive from the CALL lines as shown.

 

Note 2: No change to Stop.bat

 

Note 3: I tested with the new libeay32.dll and ssleay32.dll libs they seem OK.

 

All the best

Ric :)

Link to comment
Share on other sites

  • 1 year later...

Hi Ric,

 

I have upgraded to the latest UniServer version "5.7.2-Nano" and found that your plug-in didn't work as I'm getting the same "cannot find path" error.

 

Rather than asking each of us to manually update the code, it is more sensible to simply update the plugin so it will work right away. Also I think it will make more sense if this add-on be placed within the "plugins" folder.

 

TIA for your contribution! :)

Link to comment
Share on other sites

  • 9 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...