Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file transfer is not working #556

Closed
vp70 opened this issue Oct 13, 2015 · 11 comments
Closed

file transfer is not working #556

vp70 opened this issue Oct 13, 2015 · 11 comments

Comments

@vp70
Copy link

vp70 commented Oct 13, 2015

Remote configuration for file transfer is defaulting to /home/username
This is not the case for me. I get error "System error while loading directory: Object reference is not set". Because i dont have that directory. Can you add logic that defaults to /home/ if /home/username/ does not exist. With out this fix File Transfer is not usable.

P.S.
I found there is a option to set starting directory in GUI Options dialog for File Transfer, but its not picking up changes even if I set to /home/

Thanks in advance.
-VP70

@vp70 vp70 closed this as completed Oct 15, 2015
@vp70 vp70 reopened this Oct 15, 2015
@jimradford
Copy link
Owner

are you logging in as root or as a different username other than root?

@vp70
Copy link
Author

vp70 commented Oct 15, 2015

Different user. I don't have access to root
on my box directory structure setup as /home/user/actualusername/

@vp70
Copy link
Author

vp70 commented Oct 15, 2015

image

@jimradford
Copy link
Owner

@vp70 Can you open the log viewer and re-attempt to connect to transfer a file. I'd like to track down the cause of the null object reference.

@vp70
Copy link
Author

vp70 commented Oct 15, 2015

image

@vp70
Copy link
Author

vp70 commented Oct 15, 2015

Here is my File Transfer Options that not being picked up.

image

@jimradford
Copy link
Owner

@vp70 When you change "Home Directory Prefix" to "/home/user/" does it work as expected?

@vp70
Copy link
Author

vp70 commented Oct 15, 2015

That worked.
I am confused on what is difference between Home directory Prefix and Root Directory Prefix?

Thanks for making it work!

@jimradford
Copy link
Owner

"Home Directory Prefix" is the default path pre-pended to the username for remote hosts. For example: if your home directory path is "/home/user/vp70", we only know your username, so that allows you to tell SuperPuTTY where to start.

"Root Directory Prefix" is only used when the username is "root", most times it should be simply "/" since root's home directory is generally "/root" on most *nix systems.

Nonetheless, I will add better error checking to prevent the null object reference message.

@vp70
Copy link
Author

vp70 commented Oct 15, 2015

thanks

@vp70 vp70 closed this as completed Oct 15, 2015
jimradford added a commit that referenced this issue Oct 15, 2015
… checker

Fixes Issue #556 check for null object when remote directory is not found due to configuration path error
@nitin-pai
Copy link

nitin-pai commented Jan 6, 2017

Can you make the folder locations user editable as in WinSCP. I do not see much usage of this with fixed paths.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants