FTP
3rd party
#
# Server-side
contents of source file 230
#
# Client-side
ftp
ftp2
FTP 3rd party transfer
ftp://%HOSTIP:%FTPPORT/dest/destpath/230 -u daniel:stenberg --3p-url ftp://%HOSTIP:%FTP2PORT/source/sourcepath/230 --3p-user daniel2:stenberg2
#
# Verify data after the test has been "shot"
# target-side protocol check
USER daniel
PASS stenberg
PWD
TYPE I
CWD dest
CWD destpath
PASV
STOR 230
QUIT
s/^(PORT 127,0,0,1).*/$1/
USER daniel2
PASS stenberg2
PWD
TYPE I
PORT 127,0,0,1
RETR source/sourcepath/230
QUIT