Wasting TIme With Web 2.0? Say it Isn’t So…
Nov 12th, 2007 by Doug
Nov 12th, 2007 by Doug
Nov 11th, 2007 by Doug
Nov 11th, 2007 by Doug
Nov 8th, 2007 by Doug
curl is a command line tool for transferring files with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS and FILE. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate, kerberos…), file transfer resume, proxy tunneling and a busload of other useful tricks.Anyway, using curl with FTP over SSL is usually done something like this:
curl -3 -v --cacert /etc/ssl/certs/cert.pem \
--ftp-ssl -T "/file/to/upload/file.txt" \
ftp://user:pass@ftp.example.com:port
Let’s go over these options:
...
> PASV
< 227 Entering Passive Mode (172,19,2,90,41,20)
* Trying 172.19.2.90...
Here the client has sent the PASV command, which asks the server for a
passive data connection. The server returns a string of six decimal
numbers, representing the IP address (first four digits) and port
(last two digits). Here the IP address is 172.19.2.90 - a non-routable
IP address as per RFC
1918. When the client tries to connect to this address, it will
fail.
> EPSV
* Connect data stream passively
< 500 'EPSV': command not understood.
* disabling EPSV usage
> PASV
< 227 Entering Passive Mode (172,19,2,90,41,20)
* Trying 172.19.2.90...
…and we’re back to the same problem again.
curl -3 -v --cacert /etc/ssl/certs/cert.pem \
--disable-epsv --ftp-skip-pasv-ip \
--ftp-ssl -T "/file/to/upload/file.txt" \
ftp://user:pass@ftp.example.com:port
If this succeeds, you’ll see something like this:
* SSL certificate verify ok.
...
< 226- Transfer complete - acknowledgment message is pending.
< 226 Transfer complete.
> QUIT
< 221 Goodbye.
The final 226 Transfer complete
is the sign that the file was transferred to the server successfully. Nov 6th, 2007 by Doug
Gareth Williams, associate director of the Smithsonian Astrophysical Observatory Minor Planet Center since 1990, has been tracking the 400,000 orbits of known asteroids and comets in the solar system using a cluster of 12 VAXes, from offices on the Harvard University campus. The Deutsche Börse stock exchange in Frankfurt runs on VMS. The Australian Stock Exchange runs on it. The train system in Ireland, Irish Rail, runs on it, as does the Amsterdam police department. The U.S. Postal Service runs its mail sorters on OpenVMS, and Amazon.com uses it to ship 112,000 packages a day. It has “a very loyal installed base of customers,” says Ann McQuaid, general manager of OpenVMS at HP, who shows no signs of wanting to give it up.
Nov 4th, 2007 by Doug
Nov 4th, 2007 by Doug
Nov 3rd, 2007 by Doug
Nov 2nd, 2007 by Doug
Oct 24th, 2007 by Doug