commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From commons-...@jakarta.apache.org
Subject [Jakarta Commons Wiki] Updated: Net/FrequentlyAskedQuestions
Date Thu, 09 Sep 2004 18:27:19 GMT
   Date: 2004-09-09T11:27:19
   Editor: RoryWinston <rwinston@eircom.net>
   Wiki: Jakarta Commons Wiki
   Page: Net/FrequentlyAskedQuestions
   URL: http://wiki.apache.org/jakarta-commons/Net/FrequentlyAskedQuestions

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -9,7 +9,7 @@
 ----
 '''Q: Why are my files corrupt after transfer?'''
 
-'''A:''' The most common cause for this is when the file is transfered as ASCII but the contents
of the file are not ASCII and the file should be transferred as BINARY.  RFC 959 says the
default transfer mode should be ASCII.  FTPClient conforms to the standard.  You must explicitly
call <pre>setFileType(FTP.BINARY_FILE_TYPE);</pre> to request binary transfer
mode after logging in to the FTP server.
+'''A:''' The most common cause for this is when the file is transfered as ASCII but the contents
of the file are not ASCII and the file should be transferred as BINARY.  RFC 959 says the
default transfer mode should be ASCII.  FTPClient conforms to the standard.  You must explicitly
call `setFileType(FTP.BINARY_FILE_TYPE);` to request binary transfer mode after logging in
to the FTP server.
 ----
 '''Q: How do I get passive mode correctly started?'''
 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message