Skip to content

Commit e8bb8cc

Browse files
committed
ext/ftp/tests: cleanup test server
- Add `with_data_connection` to handle setting up connection to transfer file data or directory listing over. - Move accepting passive connection to with_data_connection - Use fgets instead of fread. FTP is a line-oriented protocol, so fgets is better. - Remove unused $transfer_type - Simplify STOR equality check
1 parent 758abd5 commit e8bb8cc

1 file changed

Lines changed: 150 additions & 225 deletions

File tree

0 commit comments

Comments
 (0)