I was trying to put some files to a remote machine (unix) from the local (win) machine using a perl script in ascii mode. $ftp->ascii(); $ftp->put($file1,$file11) or die "put failed \n";
Later on when I try to get back the same file with a new name to my local machine $ftp->get($file11,$file22) or die "get failed \n"; and do a check on the contents using the compare() compare("$file1","$file22) == 0) I'm not getting the same file back? does anyone know what am i doing wrong here? thanx, ry. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com