in reply to ReadyNas File Store Copy

You need to check your return codes for your I/O calls. One of them may be failing. For example:

print FILE "$content" or die "Print failed: $!";

Do that for open() and close() too, although I imagine you would have noticed if open() had failed.

-sam

Replies are listed 'Best First'.
Re^2: ReadyNas File Store Copy
by jsilva_im (Novice) on Mar 11, 2008 at 21:38 UTC
    Ah! A clue! Okay, with the "print" command I get the error: "Invalid argument" Even with this error, part of the file is copied over to the ReadyNas.
      That's a mysterious error, not a lot to go on. Have you tried using syswrite() instead of print()?

      Is there anything odd about the filename or directory name you're trying to create? Googling around leads me to think your ReadyNas is likely a FAT32 filesystem and it's not hard to give FAT32 indigestion.

      -sam