Jump to content


Portable FileZilla FTPd


  • Please log in to reply
6 replies to this topic

#1 Ric

Ric

    Project Manager

  • Admin
  • 1,302 posts
  • Gender:Male
  • Location:Cambridge,UK
  • Interests:Electronics
    Internet in general
    Open source projects
  • SourceForge IDmpgcan
  • Wiki ID: Ric
  • Main OS: Windows XP

Posted 11 October 2008 - 02:17 PM

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:

#2 markettwp

markettwp

    Junior Member

  • Member
  • 21 posts

Posted 17 February 2009 - 02:30 PM

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?

#3 Ric

Ric

    Project Manager

  • Admin
  • 1,302 posts
  • Gender:Male
  • Location:Cambridge,UK
  • Interests:Electronics
    Internet in general
    Open source projects
  • SourceForge IDmpgcan
  • Wiki ID: Ric
  • Main OS: Windows XP

Posted 17 February 2009 - 04:04 PM

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

#4 markettwp

markettwp

    Junior Member

  • Member
  • 21 posts

Posted 17 February 2009 - 06:36 PM

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?

#5 Ric

Ric

    Project Manager

  • Admin
  • 1,302 posts
  • Gender:Male
  • Location:Cambridge,UK
  • Interests:Electronics
    Internet in general
    Open source projects
  • SourceForge IDmpgcan
  • Wiki ID: Ric
  • Main OS: Windows XP

Posted 18 February 2009 - 10:02 AM

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

#6 arlanda

arlanda

    Newbie

  • Member
  • 5 posts
  • Main OS: Windows Vista

Posted 07 February 2011 - 03:49 PM

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

#7 markettwp

markettwp

    Junior Member

  • Member
  • 21 posts

Posted 08 February 2011 - 04:54 PM

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
UniformServer 5.x, CodeIgniter, Gimp. What else could anyone want?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users