rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - raybob

Pages: 1 2 3 4 ... 31
16
FHFS / Re: 500 - This account is missing it's root file folder
« on: August 02, 2014, 03:17:09 PM »
That error only appears (as far as I know) when you're trying to log on and it can't find the folder containing everything for that account.  You may have accidentally moved it, or deleted it, or FHFS might not have permission to access it.  Are you sure you didn't move/delete anything before the error started?

Also is the error for just one account or for everyone?

17
FHFS / Re: FHFS v2.1.0 - First impressions...
« on: July 23, 2014, 01:13:19 PM »
Number 1 has sort of already happened although it could be better - numbers 2 and 3 would be too much work.  I'll get to #1 at some point.

18
FHFS / Re: Error starting FHFS 2.0
« on: July 14, 2014, 10:16:34 PM »
Nope, 0x1004 means it couldn't find hfs.vfs.  FHFS errors are not the same as Windows errors :)

Code: [Select]

            check_file("server.dll", "Startup_Error_0x0001");

            check_file("hfs.events", "Startup_Error_0x1001");
            check_file("version.dat", "Startup_Error_0x1002");
            check_file("hfs.ini", "Startup_Error_0x1003");
            check_file("hfs.vfs", "Startup_Error_0x1004");

            check_file("openssl-bin\\openssl.exe", "Startup_Error_0x2001");
            check_file("openssl-bin\\ssleay32.dll", "Startup_Error_0x2002");
            check_file("openssl-bin\\libeay32.dll", "Startup_Error_0x2003");
            check_file("openssl-bin\\libssl32.dll", "Startup_Error_0x2004");

            check_file("stunnel-bin\\stunnel.exe", "Startup_Error_0x3001");
            check_file("stunnel-bin\\libeay32.dll", "Startup_Error_0x3002");
            check_file("stunnel-bin\\msvcr90.dll", "Startup_Error_0x3003");
            check_file("stunnel-bin\\ssleay32.dll", "Startup_Error_0x3004");

            check_file("php-bin\\php5ts.dll", "Startup_Error_0x4001");
            check_file("php-bin\\php.exe", "Startup_Error_0x4002");

            check_file("filezilla-bin\\FileZilla.exe", "Startup_Error_0x5001");
            check_file("filezilla-bin\\FzGSS.dll", "Startup_Error_0x5002");
            check_file("filezilla-bin\\libeay32.dll", "Startup_Error_0x5003");
            check_file("filezilla-bin\\ssleay32.dll", "Startup_Error_0x5004");

            check_file("sendemail-bin\\email.exe", "Startup_Error_0x6001");

19
FHFS / Re: auto start
« on: July 14, 2014, 10:15:43 PM »
I take it back.  I looked at the source and if you run the launcher from the command line with --start on the end, it should start the server and exit the GUI.  Try that.

20
Programmers corner / parsing hfs.ini in PHP
« on: July 08, 2014, 08:03:23 PM »
I don't know if anyone would ever have any use for this but I figured I'd share it... here's a PHP script that loads, parses and returns an array of keys in hfs.ini, including separating every account and decoding the usernames and notes.

Code: [Select]
<?php

function loadHFS($file) {

$output = array();

$hfsini preg_split("/\r\n|\n|\r/"file_get_contents("hfs.ini"));

foreach ($hfsini as $string) { if ($string) {

$split explode("=",$string,2);

if (isset($split[0]) && isset($split[1])) { $output[$split[0]] = $split[1]; }
}}

$accounts explode(";",$output['accounts']); $output['accounts'] = array();

foreach ($accounts as $string) { if ($string) {

$string explode("|",$string); $account = array();

foreach ($string as $info) {

$split explode(':',$info,2);

if (isset($split[0]) && isset($split[1])) { $account[$split[0]] = $split[1]; }
}

if (!empty($account['login'])) { $account['login'] = explode(":",base64_decode($account['login'])); }

if (!empty($account['notes'])) {

$notes preg_split("/\r\n|\n|\r/",zlib_decode(base64_decode($account['notes']))); $data = array();

foreach ($notes as $note) {

$split explode("=",$note);

$data[$split[0]] = $split[1];
}

$account['notes'] = $data;
}

array_push($output['accounts'],$account);
}}

return $output;
}

print_rloadHFS("hfs.ini") );

?>


21
I'll definitely keep releasing patches of FHFS as they're absolutely necessary, and yeah the heartbleed bug qualifies as such.

Anyway, the new program isn't called FHFS, it's called 'Andromeda'.  It runs on PHP and Apache meaning no FTP support.  It was also basically a complete rewrite so I felt a new name would be more fitting.  You don't have to know PHP, just willing to test stuff :)  Although it uses some pretty complex cryptography meaning it requires PHP 5.5 or higher, which they compile with Visual C++ 11 so it doesn't run on XP :(  Someone probably could compile it with VC9 if they were that desperate. 

22
I know this isn't exactly a place to look for PHP developers... but if anyone would like to help out with testing the next FHFS I would hugely appreciate it.  Just message me.

The project started in March/April of 2013 and it's nearing 90% completion.

23
I'm pretty sure FHFS still has an archive and search feature...

24
Yeah I should probably release a new 2.1.1.  I'll get on that tomorrow.  Sorry for the delay... FHFS hasn't exactly been at the front of my mind.

25
FHFS / Re: way to change default URL root?
« on: July 02, 2014, 04:37:30 AM »
Wow.  I never thought anyone would put so much effort into FHFS  :D

Anyway, you COULD change the directory like that if you needed to but it would take a lot of programming changes.  I would just try to deal with the way it's written.

26
FHFS / Re: auto start
« on: July 02, 2014, 04:32:30 AM »
I thought I put an option in the administrator console to auto start FHFS on boot.  Maybe I forgot.

Anyway, there's no command line way to start FHFS (that I remember) and just starting the FileZilla service doesn't actually start FHFS.

27
FHFS / Re: FHFS having issues with special characters in file names
« on: May 11, 2014, 03:29:35 PM »
Wait for the next FHFS - supports Unicode and download links ALL look like this:  http://www.example.com/?p=download&id=BaVYlIwuRnxOESVq     :D

28
HFS ~ HTTP File Server / Re: hfs and php/mysql
« on: April 28, 2014, 06:04:49 PM »
Just use HFS' notes system for storing data.  PHP can be run from the command line through {.exec.} - FHFS is a good example :)

29
FHFS / Re: FHFS having issues with special characters in file names
« on: April 28, 2014, 06:02:29 PM »
It's well known that HFS itself can't handle Unicode, and there's nothing I can do about that.  As for the # character, it doesn't work because that's a character with special meaning in URLs.  FHFS doesn't do anything to change it so your browser misinterprets the URL when it tries to get files with the # character.  I suppose you can try taking the URL and replacing # with %23 and see if it works.

30
FHFS / Re: FHFS as http file server
« on: April 28, 2014, 06:00:19 PM »
I'm not quite sure what you mean.  If you set up FHFS and have an admin account and everything, just go to the 'Manage FTP' page when you log on and enable your account from there.  Then use can use FileZilla or whatever to connect to your FTP account.

Pages: 1 2 3 4 ... 31