in reply to Write file using full path returns error
LWP::Simple will be your friend here. See the getstore function.
---Lars