%% Generate FTP Application Traffic Pattern and Data Packet
% Create an FTP application traffic pattern object to generate an FTP data packet.

cfgFTP = networkTrafficFTP('GeneratePacket',true);

% Generate an FTP application traffic pattern and data packet.

[dt,packetSize,packet] = generate(cfgFTP); 

% Copyright 2020 The MathWorks, Inc.