Are you opening an sftp channel or are you doing an scp connect via an
exec channel?
 
If the latter (which is what we do) is the user/service ID that you are
using to connect to the Windows server in either the Admin or Power
Users group? Scp requires login rights for the login id.
 
As per Paul's suggestion, please post your code so we can see what
you're doing to better help you resolve the issue.

 
________________________________

From: Deepesh Naidu [mailto:[email protected]] 
Sent: Friday, June 17, 2011 08:16 AM
To: Magid, J. (Joe)
Cc: [email protected]
Subject: Re: [JSch-users] Cannot sftp files from linux server to windows
server


No, I don't have trailing in the file name. 
I tried with hard coding the file name too.
But it just doesn't work for transferring files to a remote windows
server.

-Deepesh


On Thu, Jun 16, 2011 at 6:11 PM, Magid, J. (Joe)
<[email protected]> wrote:


        
        Do you have a trailing / after the file name by any chance?
         

        ~~~~~~~~~~~~~~~~~~~~~~~
        Joe Magid 
        Senior Developer
        ING - Annuity Manufacturing IT Production Support
        [email protected]

         

________________________________

        From: Deepesh Naidu [mailto:[email protected]] 
        Sent: Thursday, June 16, 2011 06:09 PM
        To: [email protected]
        Subject: [JSch-users] Cannot sftp files from linux server to
windows server
        
        
        Hi All, 

        I am using jsch to tranfer files via jsch.
        I am able to transfer files from linux servers to other linux
servers.
        But when I am trying to transfer files from a linux server to a
windows server...it is throwing me 'No Such File' error.

        I am using jsch 0.1.44 version.
        Is there a work around for this ?
        Any help would be appreicated.

        -Deepesh

        ---------------------------------------------------------
        
        NOTICE: The information contained in this electronic mail
message is confidential and intended only for certain recipients.  If
you are not an intended recipient, you are hereby notified that any
disclosure, reproduction, distribution or other use of this
communication and any attachments is strictly prohibited.  If you have
received this communication in error, please notify the sender by reply
transmission and delete the message without copying or disclosing it.
        
        
========================================================================
====================


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to