Looking at the code setFileType is only being set in
FTPClientFactory.createConnection. There is no logic currently in
place to change to ASCII based on file extension or other attributes.
The file type could be added as a FileSystemOption but you would then
end up with two ftp connections being established, one for ASCII and
one for binary.
Ralph
On Jul 31, 2009, at 3:59 AM, arenger wrote:
Hi,
I know that by default the transfer mode in commons VFS is Binary.
Throuh the FtpFileSystemConfigBuilder is possible to modify some
properties
of the FTP connection but definitely the transfer mode is not one of
them.
Does anybody know how to change it to ASCII?
Thanks.
--
View this message in context:
http://www.nabble.com/Set-the-transfer-mode-to-ASCII-in--a--file-system-tp24754619p24754619.html
Sent from the Commons - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]