登录
首页 » Java » useftpapplet

useftpapplet

于 2014-09-23 发布 文件大小:8KB
0 538
下载积分: 1 下载次数: 2

代码说明:

  Java编写实现一个FTP客户端程序,通过该客户端连接指定的服务器。useFtpApplet 类继承了Applet 类,在init()中实现的是此Applet 的初始化,设置布局和背景,建立文本、标签和文本域。   Connect()方法使用主机地址、用户名和密码作为参数,建立与主机的连接。使用new 生成新的FtpClient 类实例,使用login()方法登录FTP 服务器,调用showFileContents()方法显示文件内容。 (Java prepared to achieve an FTP client program, through which clients connect to the specified server. useFtpApplet class inherits the Applet class, init () is initialized in the realization of this Applet, set the layout and background, the establishment of the text, labels and text fields. Connect () method uses the host address, user name and password as parameters to establish a connection with the host. Use new FtpClient generate a new instance of the class, using the login () method to log FTP server, call showFileContents () method to display the file contents.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • IconLoader
    get Graphics Configuration Source Code for Andriod.
    2013-12-02 15:44:44下载
    积分:1
  • 时钟 走动
    说明:  一个应用线程实现指针运动的指针时钟程序。程序应用绘制函数时钟面板,根据线程休眠时间间隔,每隔1000ms进行一次重绘。程序通过获取系统时间函数并加以计算个指针位置,再利用绘制函数将其绘制在面板上,通过设置指针长度及颜色,实现时针、分针、秒针的区分。次外,通过获取窗体大小,设置圆面圆心坐标及半径,可依据窗口大小动态划分圆面大小,并动态绘制刻度点位置。(A pointer clock program that uses threads to implement pointer movement. The program draws the function clock panel and redraws it every 1000ms according to the interval of thread dormancy. The program obtains the system time function and calculates the position of a pointer, then draws it on the panel by drawing function. By setting the length and color of the pointer, it achieves the distinction of clockwise, minute and secondhand. Secondly, by acquiring the size of the form and setting the coordinates and radius of the circle center, the circle size can be dynamically divided according to the size of the window, and the location of the scale points can be dynamically plotted.)
    2020-06-19 19:00:01下载
    积分:1
  • 争锋神武
    说明:  千年3大千登陆器,下载后解压到客户端就可以用。(daqiandengluqideganhuo)
    2019-04-24 22:03:10下载
    积分:1
  • selenium
    selenium 自动化学习文档 菜鸟学习的材料(selenium selenium selenium)
    2012-03-15 18:41:33下载
    积分:1
  • healthAwokeMgr
    医疗问卷提醒业务功能实现。可得到健康咨询(Medical questionnaire remind business functions)
    2012-06-13 09:41:08下载
    积分:1
  • FragmentNavigation
    fragment 应用示例,以微信界面为例
    2013-11-04 09:37:56下载
    积分:1
  • flash4
    有四套录音的demo,都实现了录音功能,播放录音的功能,还是很不错的(There are four sets of recording demo, realize the recording function, play the recording function, or very good)
    2014-01-18 15:22:51下载
    积分:1
  • liredemo
    基于lunce,liredemo 演示文档(Demo document based on lunce and liredemo)
    2020-06-24 18:40:02下载
    积分:1
  • bbs
    jsp和servlet开发的bbs,具有简单的发帖、回帖、分页、增加、删除等功能!(jsp and servlet development bbs, with a simple post replies, paging, add, delete and other functions!)
    2009-05-06 15:40:56下载
    积分:1
  • JTable_lgy
    简述Java中关于J-Table的结构,和构成,对于初学者有一定的帮助,多谢分享(Summarized in Java on the J-Table structure, and composition of some help for beginners, I would like to thank the share)
    2012-05-07 17:38:37下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载