Hash method for ftp

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Carlo Filippini

    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
Working...