Archive for the 'Software' Category

myPDF update

I have been working on the GUI side of the app and thought I might aswell show y’all.

interface1.jpg
Click image to view Larger

myPDF Application

Ok, inspired by the interest shown in the PDFGen com object I have decided to write a front end gui application that will allow the creation of PDF documents with WYSIWYG ease.

Watch this space!!!

Sneak preview of the editor, this small screen shows a selected image added to the document.

Sneak preview of the editor

 Cheers

 .J

 

 

Š

XML PDF Generator

IF you have a need or simply just want to create PDF documents from your own application or webpage then this is for you.

XML PDFGen is a COM object I put together recently for another project, the project has been put on the backburner now (as do many of my projects) and so while this COM object will produce usable PDF documents it by no means supports all the fetaures available in the PDF format.

Here is an example PDF document created with this object.
Example PDF document created with XML PDFgen

The XML Code to create this example document can be viewed by clicking this link Source XML Document.

Click here to go to the XML PDFGen Page and Download.

Have fun.

 .J

ftpCMD Command line ftp client

Recently while re-jigging my web servers I needed a new solution to automate the transferring of files from one server to another.

I decided to use the built in “Scheduled Tasks” Applet of Windows Server 2003 and the FTP command prompt also built into the same OS. However all was not as simple as I had first figured. the FTP client would simply hang without error nor reason.

Instead of banging my head against the wall any longer I decided to whip together a home brew command line ftp client, while it is limited to only “GET” files it has some nifty features.

This little (75k) application is perfect for fetching mySQL dump files for remote Database Backups, downloading web server log files or any other file that you might want.

Here is an example command line:

ftpcmd.exe -h [host.com] -u [username] -p [password] -i htdocs -r [remote filename] -o -s -d -m $DATE$

Explanation:

Connect to “host.com” using “username” & “password”, change directory to htdocs create a local directory based on todays date and then download the “remote file” to the just created directory. The “-o” switch tells the client to overwrite the local file if it already exists. “-s” switches the client to passive mode. “-d” deletes the remote file after “getting”.

A full list of switches can  be found by simply double clicking the exe file after unziping.

Download Here
http://www.jasonwhite.co.uk/wp-content/uploads/2006/07/ftpcmd.zip

I hope it helps you as much as it has helped me. If you have any comments or feature requests I would be very happy to hear them.

.J