Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SFTP Timeout Error

 
vishal gaikwad
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 108
Eclipse IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
Richard Tookey
Bartender
Posts: 1166
17
Java Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic