Esempio n. 1
0
        public static void SendFile(PUPPort destination, Stream data)
        {
            UInt32      socketID   = SocketIDGenerator.GetNextSocketID();
            EFTPChannel newChannel = new EFTPChannel(destination, socketID);

            _activeChannels.Add(socketID, newChannel);

            EFTPSend.StartSend(newChannel, data);
        }
Esempio n. 2
0
 public static void StartSend(EFTPChannel channel, Stream data)
 {
     EFTPSend newSender = new EFTPSend(channel, data);
 }