So I am installing eclipse on a dev box to finish up a JAVA project, but one of eclipse's dependencies requires the tzupdate binary from sun.
Since I have a Sun dev account, I figure I would download it locally, and up it to whatever servers I need it on.
So I am upping it to the main dev boxes firewall machine, and SFTPing it to the actual dev box.
The tzupdate package is very small (472k), but SFTP messes it up during transfer, I am guessing because the dev box and the firewall are so close, and the file is so small...
So here are the 2 scenarios where the file transfer was corrupted:
Laptop -> Firewall -> SFTP put -> Devbox
Laptop -> Firewall -> SSH@Devbox -> SFTP get
both failed sanctity checks marvelously. In the second scenario, the connection terminated almost instantly, but it still wrote a file for some reason.
I ended up upping it to a web-server, and using standard HTTP fetch to download it.
Conclusion: If you have 2 hosts that are less than one hop away, don't use SFTP (for the time being) to transfer small files.
Friday, March 23, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment