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); }
public static void StartSend(EFTPChannel channel, Stream data) { EFTPSend newSender = new EFTPSend(channel, data); }