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