<commit_before>/// <reference path="ftp.d.ts" />
/// <reference path="../node/node.d.ts" />

import Client = require("ftp");
import fs = require("fs");

var c = new Client();
c.on('ready', (): void => {
	c.get('foo.txt', function(err: Error, stream: NodeJS.ReadableStream): void {
		if (err) throw err;
		stream.once('close', function(): void { 
			c.end(); 
		});
		stream.pipe(fs.createWriteStream('foo.local-copy.txt'));
	});
});
// connect to localhost:21 as anonymous
c.connect();

c.connect({
	host: "127.0.0.1",
	port: 21,
	username: "Boo",
	password: "<PASSWORD>"
});


  <commit_msg>username -> user for 'ftp'<commit_after>/// <reference path="ftp.d.ts" />
/// <reference path="../node/node.d.ts" />

import Client = require("ftp");
import fs = require("fs");

var c = new Client();
c.on('ready', (): void => {
	c.get('foo.txt', function(err: Error, stream: NodeJS.ReadableStream): void {
		if (err) throw err;
		stream.once('close', function(): void { 
			c.end(); 
		});
		stream.pipe(fs.createWriteStream('foo.local-copy.txt'));
	});
});
// connect to localhost:21 as anonymous
c.connect();

c.connect({
	host: "127.0.0.1",
    port: 21,
    user: "Boo",
	password: "<PASSWORD>"
});


  
{'fraction_non_alphanumeric': 0.2335279399499583, 'fraction_numerical': 0.016680567139282735, 'mean_word_length': 3.6511627906976742, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6670556', 'n_tokens_mistral': 470, 'n_tokens_neox': 434, 'n_words': 97}