HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] Sending a fax using ftp on port 4559



Michael,

> Does anyone know of any examples of how to send a fax using
> ftp to connect to hfaxd on port 4559.  I can connect and
> execute most of the quote commands but am missing a vital
> piece about how to get the system to agree on and send to
> a unique file name created by hfaxd.

you need to establish a second connection to HylaFAX using passive
FTP and send the document through the port HylaFAX tells you in the
answer of PASV command. You should do this using a binary stream
(e.g. using WinSock control). Before you are able to send the
document, send STOT command to HylaFAX in order to get an unique
file name.


Best Regards
Bodo

--
___________________________________________
Bodo Noering Consulting
Zur Alten Faehre 23 · D-45219 Essen
Phone +49-2054-971790 · Fax +49-2054-971791
bn@urania.com · http://www.urania.com

Highend Fax: HylaFAX® (www.hylafax.org)
and Cypheus (www.cypheus.de)
___________________________________________



____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*




Project hosted by iFAX Solutions