When done from the console,
results in:
	
	
	
		
When done via Perl system(), fetch always results in a broken downloaded file that tar complains of being of unknown archive format:
	
	
	
		
But, when I use
the result is always correct, no matter whether I call wget from console or via system().
What is the reason why I get these unexpected results with fetch?
				
			 fetch https://download.freebsd.org/ftp/releases/amd64/amd64/13.2-RELEASE/base.txz -o /jails/media/13.2-RELEASE-base.txzresults in:
		Code:
	
	-rw-r--r--  1 root  wheel  199975288 Apr  7 07:01:41 2023 13.2-RELEASE-base.txzWhen done via Perl system(), fetch always results in a broken downloaded file that tar complains of being of unknown archive format:
		Code:
	
	-rw-rw-r--  1 root  wheel  199975367 Apr  7 07:01:41 2023 13.2-RELEASE-base.txzBut, when I use
 wget -qN https://download.freebsd.org/ftp/releases/amd64/amd64/13.2-RELEASE/base.txz -O /jails/media/13.2-RELEASE-base.txzthe result is always correct, no matter whether I call wget from console or via system().
What is the reason why I get these unexpected results with fetch?
			
				Last edited by a moderator: 
			
		
	
								
								
									
	
								
							
							 
			     
 
		 
 
		