in reply to Re: Downloading file
in thread Downloading file

don't forget binmode STDOUT!!!

Replies are listed 'Best First'.
Re: Re: Re: Downloading file
by Anonymous Monk on Feb 10, 2004 at 14:45 UTC
    Hi,
    Thanks for your valuable information.
    The problem is that while writing a file in server, each data stored in an array will write into the file and "\n" is used to separate each line. I think that's why i couldn't get the proper file.
    writing content in a file, i used this code
    open (FL,"+<file.txt") foreach $ans(@arr) { print FL $ans."\n"; } close FL;
    Is there any way to write content line by line without appending "n"
    Waiting for your suggestion
    Thanks, Sur