470,648 Members | 1,317 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,648 developers. It's quick & easy.

Hash method for ftp

Hi
how can I assign the output of the hash method to a variable?
From the documentation:

hash ( [FILEHANDLE_GLOB_REF],[ BYTES_PER_HASH_MARK] )
Called without parameters, or with the first argument false, hash
marks are suppressed. If the first argument is true but not a
reference to a file handle glob, then \*STDERR is used. The second
argument is the number of bytes per hash mark printed, and defaults to
1024. In all cases the return value is a reference to an array of two:
the filehandle glob reference and the bytes per hash mark.

So basically my problem is to assign everything that I write on a file
to a variable. Obviously I can not wait until the ftp is finished and
then open the file again.

Thanks
Carlo
Jul 19 '05 #1
0 1426

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by pillbug | last post: by
3 posts views Thread by Murali | last post: by
34 posts views Thread by pembed2003 | last post: by
5 posts views Thread by R. Rajesh Jeba Anbiah | last post: by
2 posts views Thread by Bryan Olson | last post: by
5 posts views Thread by Michael H | last post: by
8 posts views Thread by mortb | last post: by
21 posts views Thread by Johan Tibell | last post: by
1 post views Thread by Korara | last post: by
reply views Thread by warner | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.