input/output error while copying PNG files from Linux server to desktop using SCP in Cygwin












0















I am trying to copy some png files from Linux server onto my local desktop running Windows 7. I am trying to copy the files with Cygwin using the scp command. I do not get any syntax errors, but all my files are copied with input/output errors.



The size of images on my local OS after copying matches the size on the server, but the image appears to be empty or cannot be viewed. Has anyone seen this issue before?



Most of the suggestions on this issue are about using WinSCP, but I have tried that and it results in the following message:



General Failure (server should provide error description).
Error Code:4
Error Message from server: Failure


I have tried pscp as well which results in error while reading: failure.



Please let me know if you know how to get around this issue.










share|improve this question





























    0















    I am trying to copy some png files from Linux server onto my local desktop running Windows 7. I am trying to copy the files with Cygwin using the scp command. I do not get any syntax errors, but all my files are copied with input/output errors.



    The size of images on my local OS after copying matches the size on the server, but the image appears to be empty or cannot be viewed. Has anyone seen this issue before?



    Most of the suggestions on this issue are about using WinSCP, but I have tried that and it results in the following message:



    General Failure (server should provide error description).
    Error Code:4
    Error Message from server: Failure


    I have tried pscp as well which results in error while reading: failure.



    Please let me know if you know how to get around this issue.










    share|improve this question



























      0












      0








      0








      I am trying to copy some png files from Linux server onto my local desktop running Windows 7. I am trying to copy the files with Cygwin using the scp command. I do not get any syntax errors, but all my files are copied with input/output errors.



      The size of images on my local OS after copying matches the size on the server, but the image appears to be empty or cannot be viewed. Has anyone seen this issue before?



      Most of the suggestions on this issue are about using WinSCP, but I have tried that and it results in the following message:



      General Failure (server should provide error description).
      Error Code:4
      Error Message from server: Failure


      I have tried pscp as well which results in error while reading: failure.



      Please let me know if you know how to get around this issue.










      share|improve this question
















      I am trying to copy some png files from Linux server onto my local desktop running Windows 7. I am trying to copy the files with Cygwin using the scp command. I do not get any syntax errors, but all my files are copied with input/output errors.



      The size of images on my local OS after copying matches the size on the server, but the image appears to be empty or cannot be viewed. Has anyone seen this issue before?



      Most of the suggestions on this issue are about using WinSCP, but I have tried that and it results in the following message:



      General Failure (server should provide error description).
      Error Code:4
      Error Message from server: Failure


      I have tried pscp as well which results in error while reading: failure.



      Please let me know if you know how to get around this issue.







      linux ssh cygwin scp






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 3 at 11:49









      karel

      9,27293139




      9,27293139










      asked Jul 2 '15 at 16:54









      ardnenardnen

      11




      11






















          1 Answer
          1






          active

          oldest

          votes


















          0














          If 3 client programs are reporting failure, you need to check the
          server side.



          Maybe the file permissions are wrong or your user is not allowed
          to read them.



          You should also look at the log of the sshd demon on the server.






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f935578%2finput-output-error-while-copying-png-files-from-linux-server-to-desktop-using-sc%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            If 3 client programs are reporting failure, you need to check the
            server side.



            Maybe the file permissions are wrong or your user is not allowed
            to read them.



            You should also look at the log of the sshd demon on the server.






            share|improve this answer




























              0














              If 3 client programs are reporting failure, you need to check the
              server side.



              Maybe the file permissions are wrong or your user is not allowed
              to read them.



              You should also look at the log of the sshd demon on the server.






              share|improve this answer


























                0












                0








                0







                If 3 client programs are reporting failure, you need to check the
                server side.



                Maybe the file permissions are wrong or your user is not allowed
                to read them.



                You should also look at the log of the sshd demon on the server.






                share|improve this answer













                If 3 client programs are reporting failure, you need to check the
                server side.



                Maybe the file permissions are wrong or your user is not allowed
                to read them.



                You should also look at the log of the sshd demon on the server.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jul 11 '15 at 21:14









                matzerimatzeri

                1,412257




                1,412257






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f935578%2finput-output-error-while-copying-png-files-from-linux-server-to-desktop-using-sc%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                    Mangá

                    Eduardo VII do Reino Unido