NASA Banner + NASA Homepage
+ Ames Research Center
+ NASA Advanced Supercomputing
NREN Banner
Sitemap
Customer Service: bbFTP Usage Examples
 
Home
About NREN
Customer Servicee
Weather Map
Jumbo Frames
Multistream
TCP Windows Sizes
bbFTP
bbSCP
HPN-SSH
SSH Passthrough
SUP
TCP Performance Tuning
Engineering
Applications
Research
Workshops

bbFTP Usage Examples

+ bbFTP Source Code

The bbFTP application is a multi-stream file transfer application that is recommended in place of SCP or FTP for the data transfer of large files over long distances. It provides a secure control channel over SSH and allows data to be transferred in cleartext to reduce overhead in unnecessary encryption.

This page provides some bbFTP command usage examples.

General Information

bbFTP is the client program

bbFTPD is the server program

Options

-eDefines commands to be used on client
Commands in single quotes (e.g., bbftp -e 'put bigfile.dat' ...)
-EDefines commands to be used on server
Commands on server executed using ssh
Commands in single quotes (e.g., bbftp -e 'put bigfile.dat' -E '/usr/local/bin/bbftpd -s' ...)
-uusername
-s(use ssh)
-V(verbose)

Commands

setsendwinsize <value in kilobytes>Sets sending TCP window size
setrecvwinsize <value in kilobytes>Sets receiving TCP window size
put <file name>Put file
get <file name>Get file
cdChange Directory

Examples

General Example:
localhost> bbftp -e 'get bigfile.dat' -E '/usr/local/bin/bbftpd -s' remotehost.nasa.gov

NAS login is different from that on the local machine:
localhost> bbftp -u myloginname -e 'put other.dat' -E '/usr/local/bin/bbftpd -s' remotehost.nasa.gov

Setting the number of multiple streams during file transfer (maximum multiple streams is 12):
localhost> bbftp -e 'setnbstream 12; get bigfile.dat' -E '/usr/local/bin/bbftpd -s' remotehost.nasa.gov

Changing the TCP windows sizes:
localhost> bbftp -e 'setrecvwinsize 1024; setsendwinsize 1024; put other.dat' -E '/usr/local/bin/bbftpd -s' remotehost.nasa.gov

Changing directories locally:
localhost> bbftp -e 'cd /home/username/other-dir; setnbstream 12; setrecvwinsize 1024; setsendwinsize 1024; put other.dat' -E '/usr/local/bin/bbftpd -s' remotehost.nasa.gov

Changing directories remotely:
localhost> bbftp -e 'setnbstream 12; setrecvwinsize 1024; setsendwinsize 1024; get bigfile.dat' -E 'cd /home/username/otherother-dir; /usr/local/bin/bbftpd -s' remotehost.nasa.gov

 More NASA on the Web:
FirstGov - Your First Click to the US Government + NASA Privacy Statement, Disclaimer,
 and Accessibility Certification

+ Copyright/Image Use Policy
NASA - National Aeronautics and Space Administration Webmaster: NREN
NASA Official: Hugh La Master
Last Updated: March 23, 2007
+ Contact NREN