Files correlati : Commento : Spostamento in libraries delle librerie esterne di Campo per una maggiore pulizia e organizzazione git-svn-id: svn://10.65.10.50/branches/R_10_00@24150 c028cbd2-c16b-5b4b-a496-9718f37d4682
		
			
				
	
	
		
			54 lines
		
	
	
		
			730 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			54 lines
		
	
	
		
			730 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| <testcase>
 | |
| <info>
 | |
| <keywords>
 | |
| FTP
 | |
| PASV
 | |
| RETR
 | |
| </keywords>
 | |
| </info>
 | |
| # Server-side
 | |
| <reply>
 | |
| <data>
 | |
| silly data
 | |
| over FTP
 | |
| </data>
 | |
| </reply>
 | |
| 
 | |
| # Client-side
 | |
| <client>
 | |
| <server>
 | |
| ftp
 | |
| </server>
 | |
| <tool>
 | |
| lib562
 | |
| </tool>
 | |
|  <name>
 | |
| FTP a type=A URL and CURLOPT_PORT set
 | |
|  </name>
 | |
| 
 | |
| # note that we need quotes around the URL below to make sure the shell doesn't
 | |
| # treat the semicolon as a separator!
 | |
|  <command>
 | |
| 'ftp://%HOSTIP:23456/562;type=A' %FTPPORT
 | |
| </command>
 | |
| 
 | |
| </client>
 | |
| 
 | |
| # Verify data after the test has been "shot"
 | |
| #
 | |
| # There's no MTDM in the protocol here since this code doesn't ask for the
 | |
| # time/date of the file
 | |
| <verify>
 | |
| <protocol>
 | |
| USER anonymous
 | |
| PASS ftp@example.com
 | |
| PWD
 | |
| EPSV
 | |
| TYPE A
 | |
| SIZE 562
 | |
| RETR 562
 | |
| QUIT
 | |
| </protocol>
 | |
| </verify>
 | |
| </testcase>
 |