commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel F. Savarese" <>
Subject Re: FTP upload corrupts video-files
Date Thu, 17 Jun 2004 20:09:42 GMT

In message <>, Morten Ande
rsen writes:
>I solved the problem using setFileType(...) instead of setTransferType(...).
>I think its a bug.

It's not a bug.  setFileType and setTransferMode do two different things
and setFileType(FTP.BINARY_FILE_TYPE) is what you needed to do.  If you
think the documentation is unclear, please submit a documentation patch
that would make it less likely for people to confuse the two.  This is
the sort of thing a user's guide would make clear through examples.
Maybe one can be started on the Wiki.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message