Jump to content
The Uniform Server Community
Ric

Portable FileZilla FTPd

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:

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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 :)

Share this post


Link to post
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

Share this post


Link to post
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 :)

Share this post


Link to post
Share on other sites

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! :)

Share this post


Link to post
Share on other sites

Wow, it's been 2 years since I last used filezilla and I'm running into the same problem as arlanda.

US 5.7.2 has different folder structure, so I vote for a plugin, if some kind soul will create it...

Thanks

Share this post


Link to post
Share on other sites

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...

×
×
  • Create New...