aspose file tools*
The moose likes Java in General and the fly likes SFTP Timeout Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "SFTP Timeout Error " Watch "SFTP Timeout Error " New topic
Author

SFTP Timeout Error

vishal gaikwad
Greenhorn

Joined: Oct 01, 2011
Posts: 11
Hello friends I am using SFTP for some my project,But when I try to connec to server (SFTP) it gives timeout error.

I am also confused how to give Sourch path i.e. path of server where files are stored.


T Mishra
Ranch Hand

Joined: Apr 04, 2006
Posts: 108

Perhaps this may help somebody else.

I am also confused how to give Sourch path i.e. path of server where files are stored.

By default, the files get uploaded at the present working directory on the remote server.

Assuming the following folder structure on the remote server
/user/home/testDirectory/anotherTestDirectory

If your present working directory is /user/home, to upload a file at anotherTestDirectory you can do like this.



Thanks,
Tushar (SCJP 1.5)
Richard Tookey
Ranch Hand

Joined: Aug 27, 2012
Posts: 1058
    
  10

I would be surprised if your home directory is "/Vishal" . It is more likely to be "/home/Vishal" but you need to talk to the system admin to be sure. Also, since you are logging on as Admin you need to ensure that user Admin has the rights to access your directory!

I do so hope that that IP is not publicly available and that (admin,Admin) is not a real account and password!

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SFTP Timeout Error