Hi Monks
I've got the following piece of code that fetches a file, when the file is recieved it is only 898 bytes big does not matter what type of file or what size it previously was.
Does anyone know where I set the size limit (If that is the problem)
use LWP::Simple;
my $url = "http://192.168.0.214/dbconnect/rabbithole/instructions.tx
+t";
# If we get the header, the image file exists
if (!head($url)) {
warn "sorry, $url doesn't exist\n";
} else {
# it exists, so get it and store it
getstore($url,"instructions.txt")
or warn "can't get image: $!";
# Print a progress message
print "$url successfully stored\n";
}