Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Why do I get a blank file on the receiving end?

by btrott (Parson)
on Mar 25, 2000 at 02:33 UTC ( [id://6118]=note: print w/replies, xml ) Need Help??


in reply to Why do I get a blank file on the receiving end?

Then how do you know the file transferred through the socket correctly?

In the line where you're printing to the file, try just printing to the terminal instead (instead of

print FILE $_;
just use
print $_;
Also, is this a binary file? It's possible that you may need to use read instead of the <> operator. And perhaps binmode as well.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://6118]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (1)
As of 2024-04-25 03:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found