HylaFAX The world's most advanced open source fax server

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

[hylafax-users] How to rename/move a ReceivedFax file



Hi,

I try to rename/move Received Fax File using 2 ways but without success.
Can you give me some help or/and suggestions?

The first way was using rename (rnfr + rnto) but the result was that the RNFR is not implemented:
DEBUG gnu.inet.ftp.FtpClientProtocol - -> rnfr recvq/fax000000001.tif
DEBUG gnu.inet.ftp.FtpClientProtocol - 502 RNFR: Command not implemented.
502 RNFR: Command not implemented.
at gnu.inet.ftp.FtpClientProtocol.rnfr(FtpClientProtocol.java:1107)
at com.cosmos.apps.jafax.james.SendFaxAsMail.rename(SendFaxAsMail.java:437)
at com.cosmos.apps.jafax.james.SendFaxAsMail.getNewFaxes(SendFaxAsMail.java:245)
at com.cosmos.apps.jafax.james.SendFaxAsMail.run(SendFaxAsMail.java:177)
DEBUG gnu.inet.ftp.FtpClientProtocol - -> quit
DEBUG gnu.inet.ftp.FtpClientProtocol - 221 Goodbye.



The second ways was using PUT(InputStream, path) but there is error:
DEBUG gnu.inet.ftp.FtpClientProtocol - -> stor /recvq.processed/fax000000001-20061110-180109-000.tif
DEBUG gnu.inet.ftp.FtpClientProtocol - 550 /recvq.processed/fax000000001-20061110-180109-000.tif: No
such file or directory.
ERROR gnu.inet.ftp.ActivePutter - Transfer cancelled
java.io.InterruptedIOException: Transfer cancelled
at gnu.inet.ftp.ActivePutter.run(ActivePutter.java:118)
550 /recvq.processed/fax000000001-20061110-180109-000.tif: No such file or directory.


I try all kind of path:
   recvq.processed
   /var/spool/hylafax/recvq.processed
   /recvq.processed


Regards, Miro.

____________________ 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@xxxxxxxxxxx < /dev/null
 *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions