Haveing an issue with one of my scripts. When I try to use perl to upload files via FTP, they are always a different size on the other end. It really starting to piss me off. I have actually been driven to the point where my perl script is calling a php script to do the uploads. Obviously this isn't what I want to do.
Anyone else have this problem and know a good way to fix it? I have tried forcing passive as well as trying to send in both Binary and ASCII. All had the exact same result. PHP will upload just fine though.