in reply to Cannot get Net::SMTP to print file path with spaces properly
I suggest you URL-encode it, resulting in:
$smtp->datasend ("\\\\server\\weekly%20reports\\report.txt");
pbeckingham - typist, perishable vertebrate.
In Section
Seekers of Perl Wisdom