You are here

Making portable version of BPFTPserver

8 posts / 0 new
Last post
lado
Offline
Last seen: 16 years 8 months ago
Joined: 2007-09-03 02:29
Making portable version of BPFTPserver

I attempted and partially succeded to make a portable version og BPFTPserver.
However I do have one problem (for which I couldn't find a solution in the forum or elsewhere):

I have a legal copy of BPFTPserver, so, naturally, I'd like to run it registered. The registration information for it is stored in HKLM/SOFTWARE/BPFTP Server/Key entry. I am not able to figure out how to set (I suppose) the launcher, that it'll enter the correct info into registry on launch of app and remove it when app is stopped?

Any help/suggestion will be appreciated.

Regards, Vladimir

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 7 months ago
Joined: 2006-01-06 21:27
.

I think that Sumatra PDF Portable does something similar to this. You can use that script as a base. You can also email me at ryanmccue[at]cubegames.net and I will be able to help you.
----
Ryan McCue.
Blog.
So all that Airbus-delay trouble over here in Europe is because of YOU!
Simeon.

"If you're not part of the solution, you're part of the precipitate."

SmithTech
SmithTech's picture
Offline
Last seen: 2 years 3 weeks ago
Developer
Joined: 2006-11-24 18:06
which version of BPFTP are

which version of BPFTP are you using?
they changed the registry locations from 2.4 to 2.5
I have the NSIS launcher scripts for both.
You can find the NSIS script for 2.4 Here
if your 2.5 you will have to change the registry locations in the script before you compile it.

-----------------------------------------------------------------------------------------------
Because they stand on a wall and say nothing is going to hurt you tonight. Not on my watch.

"Because they stand on a wall and say, 'Nothing is going to hurt you tonight. Not on my watch.'" (A Few Good Men)
Coincidence is God's way of remaining anonymous.(Albert Einstein)

lado
Offline
Last seen: 16 years 8 months ago
Joined: 2007-09-03 02:29
Re: which version of BPFTP are you using

You surprised me a bit. I have version 2.3.1.26 ov BPFTP Server. I went to their home page and found that this is the latest version.

It seems to me that you're talking about Ftp client which is currently at version 2.59.0-51 ??

But I will look into your script anyway, as I am trying to figure out how I can write the registration key into registry on start and delete it on exit of BPFTP. I wish to run the program properly registered, and I don't want to leave the registry enties after I quit working ...

Lado

lado
Offline
Last seen: 16 years 8 months ago
Joined: 2007-09-03 02:29
BPFTP Server portable

Hi,

I tried your launcher script for Ultra Edit. It works Ok - i.e. when I move from one PC to another it creates/removes the registy keys as it should.

I compared the Ultra Edit's launcher script with your BPFTP Client's script, and saw that the only difference is in few defines. So I modified these defines to suit the BPFTP Server rather than the client.

However when I launch the BPFTP Server, the registry keys are still not created/removed on application start/stop. I created the ...\Data\Registy\RegKey1.reg file myself. Now, when I start the application the keys are written into registry, but unfortunately they're not removed when I quit the application ...

I may have an error in launcher script (?). Into the script I put:

!define REGKEYS "HKEY_LOCAL_MACHINE\SOFTWARE\BPFTP"||"HKEY_USERS\.DEFAULT\Software\Gene6\G6 Ftp Server"

but I am not sure if the syntax of that is correct?

Lado

John Bentley
John Bentley's picture
Offline
Last seen: 14 years 8 months ago
Developer
Joined: 2006-01-24 13:26
Try this: !define REGKEYS

Try this:
!define REGKEYS "HKEY_LOCAL_MACHINE\SOFTWARE\BPFTP||HKEY_CURRENT_USER\Software\Gene6\G6 Ftp Server"

-----
In a perfect world Wiis would be free.
In this world only wheees are free.

cowsay Moo
cowthink 'Dude, why are you staring at me.'

bpadmin
Offline
Last seen: 15 years 12 months ago
Joined: 2008-04-04 14:28
BPFTP Server/Client from a Portable Drive

** Update: April 14, 2008 ***
**
** BPFTP Server Portable Edition is released and ready to go!
** http://bpftpserver.com/products/bpftpserver/windows/portable/usb
**
** "It's Pretty sweet to walk up to a computer and instantly turn it into an
** FTP server with full remote access to the files." (Matt aka Developer)
**
** I'll be putting together some documentation on how to best setup the software
** and quickly get it up and running.
**
*** Thanks, BulletProof Software aka Matt

What's up all! I'm the developer of BulletProof FTP Server/Client.

We're close to releasing "BulletProof FTP Server PORTABLE Edition" here in a couple days and I wanted to give a heads-up on running our apps on a USB/Portable Drive.

The good news is that BPFTP Server was designed from the very beginning to never use the Windows Registry. This means that everything is stored as text/flat files in the installation directory of the software; *including* the registration information. If you open up your installation directory, you'll see some *.INI files, this include "ftpsrv.ini", "users.ini" and "groups.ini". These 3 files are the only files required by the app to run. If you are registered-user (ie: you paid for it), the registration information is contained in the file "bpftpserver.txt". We'll be releasing a new installer in a couple days which will make this easy to setup and will even include an "autorun.inf" for quick launching of BPFTP Server.

The bad news is that BPFTP Client makes heavy use of the Windows Registry for storing options and configuration data, but the transfer-queue is stored as a flat-file called *.BPS. We'll be working on this over the next few weeks and hope to move this to INI files as well. Although, it will probably be Q3/2008 for this.

If you have any questions, please don't hesitate to contact me:
http://bpftp.com/contactus

bpadmin
Offline
Last seen: 15 years 12 months ago
Joined: 2008-04-04 14:28
Fixed the download link, in

Fixed the download link, in case some of you tried and it didn't work...

Download Info
http://bpftpserver.com/products/bpftpserver/windows/portable/usb

Direct Download
http://download.builtbp.com/files/bpftpserver_portable_install.exe

Log in or register to post comments