Date: Wed, 28 Jul 2004 11:57:39 +0300 From: Ilker OZUPAK <ilker.ozupak@emu.edu.tr> To: ports@freebsd.org Cc: obrien@FreeBSD.org Subject: ftp/ncftp3 problems Message-ID: <200407281200.16633.ilker.ozupak@emu.edu.tr>
next in thread | raw e-mail | index | archive | help
LS0tLS1CRUdJTiBQR1AgU0lHTkVEIE1FU1NBR0UtLS0tLQpIYXNoOiBTSEExCgpoZWxsbywKCnRy eWluZyB0byBpbnN0YWxsIG5jZnRwMyBhbmQgZ290IHNvbWUgcHJvYmxlbXMgd2hlbiB0cnlpbmcu CmZldGNoaW5nIGZhaWxzIHdpdGggc2l6ZSBtaXNtYXRjaCBlcnJvci4Kd2hlbiBmZXRjaGVkIG1h bnVhbGx5IG1ha2UgZmFpbHMgd2l0aCBjaGVja3N1bSBlcnJvci4KZW5kIGF0IGxhc3QgbWFrZSAt RE5PX0NIRUNLU1VNIGZhaWxzIHRvIGFwcGx5IHBhdGNoZXMuCmJlbG93IGlzIHNvbWUgb3V0cHV0 IGZyb20gdGhlIGJ1aWxkIHByb2Nlc2VzLi4KCgpwczogbWFpbnRhaW5lciBDQydlZAoKKioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioKcGFzY2FsIyBtYWtl Cj09PT4gIFZ1bG5lcmFiaWxpdHkgY2hlY2sgZGlzYWJsZWQsIGRhdGFiYXNlIG5vdCBmb3VuZAoK VXNlIElOU1RBTExfQVNfTkNGVFAzPXllcyB0byBpbnN0YWxsIG5jZnRwIHYzIGFzIC91c3IvbG9j YWwvYmluL25jZnRwMwoKPj4gbmNmdHAtMy4xLjgtc3JjLnRhci5iejIgZG9lc24ndCBzZWVtIHRv IGV4aXN0IGluIC9ob21lL2RhdGEvZGlzdGZpbGVzLy4KPj4gQXR0ZW1wdGluZyB0byBmZXRjaCBm cm9tIGZ0cDovL2Z0cC5uY2Z0cC5jb20vbmNmdHAvLgpmZXRjaDogZnRwOi8vZnRwLm5jZnRwLmN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WtKdVdNalMzZUUvblBhd0lSOD0K PUN1TEsKLS0tLS1FTkQgUEdQIFNJR05BVFVSRS0tLS0tCg==
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407281200.16633.ilker.ozupak>