Archive for March, 2007
VNC client in flash
By Justin Silverton
FVNC is an open source VNC client for flash.
From the author:
“I’ve updated the code to compile with the release version of Flex 2. Previously, the application was only functional in beta versions and stopped working when Flash Player 9 was officially released. I’ve also started to do some refactoring, but decided it was better to get the code out there as-is than keep it locked up while I tweak it. I’ve been beyond busy lately, and I don’t see myself finishing this round of refactoring any time soon, so better to release now than wait a few weeks…”
Screenshots
Login Screen

Actual screenshot

How to use/install
Download and run from your browswer.
Important notes:
Because of Flash Player security restrictions in connecting to remote addresses, you have to run the .swf file from your local file system. This means either launching it with the standalone Flash Player, or dropping the .swf file inside IE or FireFox.
More about the client:
The following encodings are implemented: CopyRect and HexTile. The Flash Player itself is fully capable of rendering the screen without slowdown.. any choppiness seems to be due to the amount of data coming over the wire, so switching to a compressed encoding format should improve speed.
This has only been tested using TightVNC server
Download
The VNC flash client can be download here
Link to project: Here
6 commentsan ftp server written in PHP
By Justin Silverton
nanoFTPd is an ftp daemon written in php. as of version 4.2.0, php supports the command-line interface (stable since 4.3.0), which nanoFTPd relies on. nanoFTPd is modular, so it’s easy to add custom modules and other stuff, like different database interfaces (currently supports mysql and postgresql).
Features
- user authentication via a database/textfile
- mysql + posgresql support
- passive mode
- dynamic ip support
- basic ftp commands
- logging
Requirements
- PHP 4.2.0 or above
- A database server (mysql or postgres)
- PHP extension: cli
- PHP extension: sockets
- PHP extension: posix
Note: for best performance, compile php with –disable-cgi
Configuring
before running nanoFTPD, you need to do the following:
1) change variables in config.php
2) change the first line of nanoftpd.php to the path of your php binary
Installing
installing is fairly straight forward. you only have to copy the whole directory (with subdirectories) into a directory of your choice… e.g. /usr/share/nanoftpd
(working on a better structure — e.g. config.php into /etc, nanoftpd.php into
/usr/sbin).
Download
You can download nanoftpd here
5 comments




