HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Server command documentation?



frank@gondor.nikoma.de wrote:
    
    Hi there!
    
    	I'm planning to write a fax client which sends a postscript file to
    	the fax server (like sendfax). The problem is that I couldn't
    	find any documentation for the client-server protocol other than RFC
    	959 (about FTP) and one-line descriptions of each command (in hfaxd(8)).
    
    	Is there any documentation for the protocol available, especially for
    	the J* commands, or would anybody explain how I can simply send
    	a postscript file to the HylaFax server, specifying phone number, re-
    	cipient names etc.?
    
    Thanks in advance, Frank.

You may enable the protocol trace of sendfax(1) by setting
the "-vv" flag (double v) and use this trace as a guide.
You also have to code your client to create an additional
data connection (passive open in your client, send the port
in a PORT command to hfaxd(1M) which does the active open)
to transfer the PostScript file. Come back to me if you
need more details.

	matthias
-- 
firm: matthias.apitz@sisis.de [voc:+49-89-61308-351, fax: +49-89-61308-188]
priv: guru@thias.muc.de
 PGP: Key fingerprint = 0C 01 F2 23 EC 17 A2 D5  46 2D 29 4C 0E 8B 7E 8F

You know who's reading your data ... Don't you?




Project hosted by iFAX Solutions