Quick background
-This is a desktop application I am making for myself to find certain files on my computer and back them up on my ftp.
-I am using windows 7
-I am using an open source .jar called ftp4j to do the ftp upload.
-I keep getting the error "java.net.SocketException: Permission denied: recv failed." whenever I get to the part where I actually try to upload the file.

What I have tried.
-Check firewall settings. Looks like java should have full rights to do anything.
-Tried messing with the policy file in "C:\Program Files\Java\jre1.7.0\lib\security\java.policy" and "C:\Program Files\Java\jre6\lib\security\java.policy" (the only 2 jre's I see on my computer) and even went to such extremes as to change both of them to just
Java Code:
grant { 
permission java.security.AllPermission;
};
But to no avail. I still got the same error when I ran the program.

That error message means I have an issue with the policy file right?? Any idea what I am doing wrong?

Thanks ahead of time for any help or suggestions!