Using JFTP, you can transfer files in ASCII
, Binary/Image
or Auto-Detect
mode. Failing to transfer a file in correct mode
may corrupt the file and it may become useless on the target system.
All files that contain plain text must be transferred in ASCII
mode. Examples of such files would be TXT, HTML, JSP, or XML files.
All files that contain binary data must be transferred in Binary/Image
mode. This would include EXE, BMP, GIF, JPG or ZIP files.
The Auto-Detect
(automatic detection) mode becomes handy when
you have to transfer multiple files and directories (a few hundreds or even
thousands). In this case, separating the files that are to be transferred in
ASCII mode and Binary mode becomes a real pain. To overcome this problem, JFTP
provides a place where you can specify what transfer mode to use for what files.
(Click here to learn how to configure
transfer modes based on the file's extension). When you set the transfer
mode to Auto-Detect
, JFTP automatically determines the transfer
mode for a given file and transfers the file in correct mode, thus saving time
and reducing the chances of corrupting the files.
When you start JFTP, the transfer type is always set to Auto-Detect
.
To change the transfer mode to ASCII, select Transfer Mode -> ASCII
menu item from the menu bar. To change the transfer mode to Binary/Image
,
select Transfer Mode -> Binary/Image
menu item from the menu
bar.