WinSCP error setting up directory
up vote
1
down vote
favorite
I am getting the following error:
Reading Remote Directory: Error changing directory to '/script=E:DataGmousCR12binGet.sftp'
Cannot get real path for '/script=E:DataGmousCR12binGet.sftp'
No such file or directory.
Error code 2
Error message from Server: No Such file
Request code: 16
Session started.
Active Session: [1] username@ipaddress
The file exist on another E drive of the same server.
windows scp winscp
add a comment |
up vote
1
down vote
favorite
I am getting the following error:
Reading Remote Directory: Error changing directory to '/script=E:DataGmousCR12binGet.sftp'
Cannot get real path for '/script=E:DataGmousCR12binGet.sftp'
No such file or directory.
Error code 2
Error message from Server: No Such file
Request code: 16
Session started.
Active Session: [1] username@ipaddress
The file exist on another E drive of the same server.
windows scp winscp
Is the path correct? I can see/script=
there, which does not seem correctly
– burtek
Feb 8 '13 at 16:26
Maybe it wants /script="E:DataGmousCR12binGet.sftp"
– slm
Feb 8 '13 at 16:41
Thanks. I have now tested using /script="E:DataGmousCR12binGet.sftp" but still having the same error. I have also tried looking for an explanation of the error code "2" and request code "16" but can't seem to find these in the winSCP manual. Thanks for your help in advance.
– user196513
Feb 10 '13 at 11:48
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I am getting the following error:
Reading Remote Directory: Error changing directory to '/script=E:DataGmousCR12binGet.sftp'
Cannot get real path for '/script=E:DataGmousCR12binGet.sftp'
No such file or directory.
Error code 2
Error message from Server: No Such file
Request code: 16
Session started.
Active Session: [1] username@ipaddress
The file exist on another E drive of the same server.
windows scp winscp
I am getting the following error:
Reading Remote Directory: Error changing directory to '/script=E:DataGmousCR12binGet.sftp'
Cannot get real path for '/script=E:DataGmousCR12binGet.sftp'
No such file or directory.
Error code 2
Error message from Server: No Such file
Request code: 16
Session started.
Active Session: [1] username@ipaddress
The file exist on another E drive of the same server.
windows scp winscp
windows scp winscp
edited Feb 8 '13 at 16:23
Daniel Andersson
19.1k34056
19.1k34056
asked Feb 8 '13 at 16:17
user196513
612
612
Is the path correct? I can see/script=
there, which does not seem correctly
– burtek
Feb 8 '13 at 16:26
Maybe it wants /script="E:DataGmousCR12binGet.sftp"
– slm
Feb 8 '13 at 16:41
Thanks. I have now tested using /script="E:DataGmousCR12binGet.sftp" but still having the same error. I have also tried looking for an explanation of the error code "2" and request code "16" but can't seem to find these in the winSCP manual. Thanks for your help in advance.
– user196513
Feb 10 '13 at 11:48
add a comment |
Is the path correct? I can see/script=
there, which does not seem correctly
– burtek
Feb 8 '13 at 16:26
Maybe it wants /script="E:DataGmousCR12binGet.sftp"
– slm
Feb 8 '13 at 16:41
Thanks. I have now tested using /script="E:DataGmousCR12binGet.sftp" but still having the same error. I have also tried looking for an explanation of the error code "2" and request code "16" but can't seem to find these in the winSCP manual. Thanks for your help in advance.
– user196513
Feb 10 '13 at 11:48
Is the path correct? I can see
/script=
there, which does not seem correctly– burtek
Feb 8 '13 at 16:26
Is the path correct? I can see
/script=
there, which does not seem correctly– burtek
Feb 8 '13 at 16:26
Maybe it wants /script="E:DataGmousCR12binGet.sftp"
– slm
Feb 8 '13 at 16:41
Maybe it wants /script="E:DataGmousCR12binGet.sftp"
– slm
Feb 8 '13 at 16:41
Thanks. I have now tested using /script="E:DataGmousCR12binGet.sftp" but still having the same error. I have also tried looking for an explanation of the error code "2" and request code "16" but can't seem to find these in the winSCP manual. Thanks for your help in advance.
– user196513
Feb 10 '13 at 11:48
Thanks. I have now tested using /script="E:DataGmousCR12binGet.sftp" but still having the same error. I have also tried looking for an explanation of the error code "2" and request code "16" but can't seem to find these in the winSCP manual. Thanks for your help in advance.
– user196513
Feb 10 '13 at 11:48
add a comment |
2 Answers
2
active
oldest
votes
up vote
0
down vote
I removed
[SessionsDefault%20Settings]
....
from winscp.ini
and error code 2 "can't change directory is gone".
add a comment |
up vote
0
down vote
Would help, if you share your script.
But you have definitely a syntax error, when starting WinSCP or in your script.
/script=E:DataGmousCR12binGet.sftp
is command-line argument to refer to the script to execute. It's not clear from your post from where this "string" comes
If it's on command line, chances are that you have omitted space between session URL or stored session name and the
/script
parameter, like:
winscp.com mysession/script=E:DataGmousCR12binGet.sftp
Make sure you add a space to separate these.
You may as well have the
/script=
somewhere in the actual script file. But I find that unlikely. Just in case, remove it, as it does not belong there.
add a comment |
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',
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f548487%2fwinscp-error-setting-up-directory%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I removed
[SessionsDefault%20Settings]
....
from winscp.ini
and error code 2 "can't change directory is gone".
add a comment |
up vote
0
down vote
I removed
[SessionsDefault%20Settings]
....
from winscp.ini
and error code 2 "can't change directory is gone".
add a comment |
up vote
0
down vote
up vote
0
down vote
I removed
[SessionsDefault%20Settings]
....
from winscp.ini
and error code 2 "can't change directory is gone".
I removed
[SessionsDefault%20Settings]
....
from winscp.ini
and error code 2 "can't change directory is gone".
edited Dec 29 '15 at 11:37
nKn
4,48552230
4,48552230
answered Dec 29 '15 at 10:56
Wasim A.
189129
189129
add a comment |
add a comment |
up vote
0
down vote
Would help, if you share your script.
But you have definitely a syntax error, when starting WinSCP or in your script.
/script=E:DataGmousCR12binGet.sftp
is command-line argument to refer to the script to execute. It's not clear from your post from where this "string" comes
If it's on command line, chances are that you have omitted space between session URL or stored session name and the
/script
parameter, like:
winscp.com mysession/script=E:DataGmousCR12binGet.sftp
Make sure you add a space to separate these.
You may as well have the
/script=
somewhere in the actual script file. But I find that unlikely. Just in case, remove it, as it does not belong there.
add a comment |
up vote
0
down vote
Would help, if you share your script.
But you have definitely a syntax error, when starting WinSCP or in your script.
/script=E:DataGmousCR12binGet.sftp
is command-line argument to refer to the script to execute. It's not clear from your post from where this "string" comes
If it's on command line, chances are that you have omitted space between session URL or stored session name and the
/script
parameter, like:
winscp.com mysession/script=E:DataGmousCR12binGet.sftp
Make sure you add a space to separate these.
You may as well have the
/script=
somewhere in the actual script file. But I find that unlikely. Just in case, remove it, as it does not belong there.
add a comment |
up vote
0
down vote
up vote
0
down vote
Would help, if you share your script.
But you have definitely a syntax error, when starting WinSCP or in your script.
/script=E:DataGmousCR12binGet.sftp
is command-line argument to refer to the script to execute. It's not clear from your post from where this "string" comes
If it's on command line, chances are that you have omitted space between session URL or stored session name and the
/script
parameter, like:
winscp.com mysession/script=E:DataGmousCR12binGet.sftp
Make sure you add a space to separate these.
You may as well have the
/script=
somewhere in the actual script file. But I find that unlikely. Just in case, remove it, as it does not belong there.
Would help, if you share your script.
But you have definitely a syntax error, when starting WinSCP or in your script.
/script=E:DataGmousCR12binGet.sftp
is command-line argument to refer to the script to execute. It's not clear from your post from where this "string" comes
If it's on command line, chances are that you have omitted space between session URL or stored session name and the
/script
parameter, like:
winscp.com mysession/script=E:DataGmousCR12binGet.sftp
Make sure you add a space to separate these.
You may as well have the
/script=
somewhere in the actual script file. But I find that unlikely. Just in case, remove it, as it does not belong there.
edited Nov 22 '17 at 7:49
answered Apr 13 '13 at 18:04
Martin Prikryl
10.7k43173
10.7k43173
add a comment |
add a comment |
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f548487%2fwinscp-error-setting-up-directory%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
Is the path correct? I can see
/script=
there, which does not seem correctly– burtek
Feb 8 '13 at 16:26
Maybe it wants /script="E:DataGmousCR12binGet.sftp"
– slm
Feb 8 '13 at 16:41
Thanks. I have now tested using /script="E:DataGmousCR12binGet.sftp" but still having the same error. I have also tried looking for an explanation of the error code "2" and request code "16" but can't seem to find these in the winSCP manual. Thanks for your help in advance.
– user196513
Feb 10 '13 at 11:48