Question abaout the FtpURLConnection

What does the types -i -a -d stand for?, I have decompiled the ftpURLConnection to see how it works, and I found that all the work is done through the FtpClient class, that is ok for me, but since the ftpClient is controlled through the FtpURLConnection, then it seams that the "modes" of ftp are controlled through this.

Thanks for the attention.

[360 byte] By [Ioniviila] at [2007-11-27 5:38:03]
# 1
Not sure what is meant, but in FtpURLConnection I found this"i": type = BIN;"a": type = ASCII;"d": type = DIR;BTW no need for decompiling, Java is open source (but big download [for
S_i_m_ua at 2007-7-12 15:11:03 > top of Java-index,Core,Core APIs...
# 2
yes it might be open souce, but for the not documented classes, i couldn磘 find them in the src.zip file. Maybe it just me. Thanks for the reply
Ioniviila at 2007-7-12 15:11:03 > top of Java-index,Core,Core APIs...
# 3
You are correct, in the src.zip you will only find the "public API" classes, but if you download the "Java SE 6 JDK Source Code" ( http://download.java.net/jdk6/) you get the source for (almost) all classes (missing crypto)[]
S_i_m_ua at 2007-7-12 15:11:03 > top of Java-index,Core,Core APIs...
# 4
Where could we find documentation and/or example codes for thes FtpClient and FtpUTLConnection classes? And in general, where could we find documentation for those 'sun' package classes?
hiwaa at 2007-7-12 15:11:03 > top of Java-index,Core,Core APIs...
# 5
'i' 'a' and 'd' mean the same as they do to the 'type' command of ftp: binary ('image'), text ('ascii'), and 'directory'. You don't really need the sources or the Javadoc for that, you just need to know the ftp.exe commands.
ejpa at 2007-7-12 15:11:03 > top of Java-index,Core,Core APIs...
# 6

> Where could we find documentation and/or example

> codes for thes FtpClient and FtpUTLConnection

> classes? And in general, where could we find

> documentation for those 'sun' package classes?

It is still a century old topic and remains frozen.

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4066202

hiwaa at 2007-7-12 15:11:03 > top of Java-index,Core,Core APIs...