I've tried different ways, but none of them works.
I've created a InMemoryFile withe two lines;
foo_line_01\n
foo_line_02\n
Here are the output of my tests:
Try to upload all the *.txt files from this directory: command: ..put( -local => "*.txt", -url => "$url/$base_dir/$work_dir" ) Reply..: put *.txt succeeded Try to upload the InMemoryfile accessed via filehandler $fh: command: ..put( -local => "$fh", -url => "$url/$base_dir/$work_dir" ) Reply..: put foo_Line_01 foo_Line_02 failed command: ..put( -local => \$fh, -url => "$url/$base_dir/$work_dir" ) Reply..: put REF(0x274dc28) failed command: ..put( -local => $fhref, -url => "$url/$base_dir/$work_dir" ) Reply..: put REF(0x274dc28) failed command: ..put( -local => "\$fh", -url => "$url/$base_dir/$work_dir" ) Reply..: put $fh failed command: ..put( -local => "\$fhref",-url => "$url/$base_dir/$work_dir" ) Reply..: put $fhref failed
Any idea how to handle the -local parameter of the HTTP::DAV put request for an InMemoryfile linehandler?
RegardsIn reply to Re^6: in memory files in 5.6.1
by WolliK
in thread in memory files in 5.6.1
by mandog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |