Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Currently I am using XAMPP on a XP machine and FTP service is running with it. On the other end I am using a Mac. I tried to use Cyberduck and transfer a file into the FTP server it works fine; the orignal file is 104kb and after transfer there it remain as 104kb but the problem starts when I try to use CLI to do an FTP transfer.

Tranferring the same file, when I check on the server side, it becomes 106kb and it is a pdf file and I am not able to open it.

Does anyone have this same problem before? And how you manage to solve it?

share|improve this question

migrated from stackoverflow.com Jun 15 '11 at 8:28

This question came from our site for professional and enthusiast programmers.

    
Assuming CLI is command line interface. Can you confirm what commands you used, did you remember a bin command before the get? –  Jane T Jun 20 '11 at 14:11
add comment

1 Answer

Change to the binary transfer mode using the 'bin' command.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.