Friday, March 25, 2011

utility for file transfer. It connects to the the FTP server, delete file, receive and put the file to the FTP server.

import java.io.BufferedReader;import java.io.File;import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.FileReader;import java.io.IOException;import java.io.InputStream;import java.io.InputStreamReader;import java.util.ArrayList;import java.util.List; import org.apache.commons.net.ftp.FTP;import org.apache.commons.net.ftp.FTPClient;import org.apache.commons.net.ftp.FTPFile;import org.apache.commons.net.ftp.FTPReply;import org.apache.log4j.Logger; public class SandvineFTP { private Logger logger = Logger.getLogger(SandvineFTP.class); private static SandvineFTP sFTP; FTPClient client = new FTPClient(); // make singleton private SandvineFTP(){ } public static SandvineFTP getInstance(){ if(sFTP==null) sFTP =  new SandvineFTP(); return sFTP; ...

Wednesday, March 2, 2011

What is the difference between http and https

Don't know how many of you are aware of this difference, but it is worth sending to those that may not. The main difference between http:/// <http:///> and https:// is it's all about keeping you secure. HTTP stands for Hyper Text Transfer Protocol. The S (big surprise) stands for "Secure". If you visit a Website or webpage, and look at the address in the web browser, it will likely begin with the following: http://. <http://./>  This means that the website is talking to your browser using the regular 'unsecure' language. In other words, it is possible for someone to "eavesdrop" on your computer's conversation with the Website. If you fill out a form on the website, someone might see the information you send to that site. This is why you never ever enter your...

Pages 201234 »
Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Sweet Tomatoes Printable Coupons
Increase traffic