Tag Archives: java

Curious line-endings in FTP

Whilst hurriedly implementing basic FTP support in a program that’s due in a couple of days, I ran into a strange phenomenon: Retrieving ftp://login:password@server/data.csv, a multiline text file, will return the file intact. Retrieving ftp://login:password@server/data.dat, another multiline text file, won’t: … Continue reading

Posted in Programming | Tagged , , , , | Leave a comment

Sleeping in loops considered harmful

NetBeans gave me an interesting code hint today: Thread.sleep called in loop.

Posted in Programming | Tagged , , | 5 Comments