示例#1
0
        internal void setVoice(string ip, int port, string voiceName)
        {
            //throw new NotImplementedException();
            ftpDLParams param = new ftpDLParams(voiceName, "PCtest", "cache/video/" + voiceName);//*****************************************

            ftp.beginDownloadFile(param);
            ipRecv   = ip;
            portRecv = port;
        }
示例#2
0
        internal void setPicture(string ip, int port, string picName)
        {
            //throw new NotImplementedException();
            ftpDLParams param = new ftpDLParams(picName, "PCtest", "ftpDownload/picture/" + picName);//*******************************************

            ftp.beginDownloadFile(param);
            ipRecv   = ip;
            portRecv = port;
            count++;
        }