views:

417

answers:

3

I have try to transfer a image file using ftp command in linux, from linux platform to windows platform, doing like this:

ftp cs.unitbv.ro
ascii
get test.jpg

After this, when I open the image it says that the file is corrupted. If somebody know how to repair the image file let me know.

Thanks

A: 

You cannot repair the file.

Jonathan Feinberg
+1  A: 

Try transferring it using binary mode.

Chris Kloberdanz
+1  A: 

transfer it as binary otherwise it will get corrupted as newlines are converted, for example.

James Black