Moving files from one host to another (VNC)











up vote
0
down vote

favorite
1












I wonder if it's possible to make file transfers through VNC using only the command line. This question illustrates how to copy text from one window to another, but I haven't found a way to move files using the command line.



In my case, I need to move a batch file from the client to the server and run it.










share|improve this question
























  • VNC isn’t suitable for that. Why not use a proper file transfer protocol?
    – Daniel B
    Mar 14 '16 at 18:54










  • I have no control over the remote machine which is only reachable through VNC.
    – Sebi
    Mar 14 '16 at 18:57






  • 1




    You’re out of luck then, because VNC offers no standardized file transfer mechanism. There are only vendor-specific implementations, so you’ll have to provide more details on the operating systems involved as well as the VNC server and client software.
    – Daniel B
    Mar 14 '16 at 18:59










  • The remote machine is running windows 7, the host debian and both are using openvnc.
    – Sebi
    Mar 14 '16 at 19:01










  • There’s no such thing as “openvnc”. Please provide a link to the homepage.
    – Daniel B
    Mar 14 '16 at 19:17















up vote
0
down vote

favorite
1












I wonder if it's possible to make file transfers through VNC using only the command line. This question illustrates how to copy text from one window to another, but I haven't found a way to move files using the command line.



In my case, I need to move a batch file from the client to the server and run it.










share|improve this question
























  • VNC isn’t suitable for that. Why not use a proper file transfer protocol?
    – Daniel B
    Mar 14 '16 at 18:54










  • I have no control over the remote machine which is only reachable through VNC.
    – Sebi
    Mar 14 '16 at 18:57






  • 1




    You’re out of luck then, because VNC offers no standardized file transfer mechanism. There are only vendor-specific implementations, so you’ll have to provide more details on the operating systems involved as well as the VNC server and client software.
    – Daniel B
    Mar 14 '16 at 18:59










  • The remote machine is running windows 7, the host debian and both are using openvnc.
    – Sebi
    Mar 14 '16 at 19:01










  • There’s no such thing as “openvnc”. Please provide a link to the homepage.
    – Daniel B
    Mar 14 '16 at 19:17













up vote
0
down vote

favorite
1









up vote
0
down vote

favorite
1






1





I wonder if it's possible to make file transfers through VNC using only the command line. This question illustrates how to copy text from one window to another, but I haven't found a way to move files using the command line.



In my case, I need to move a batch file from the client to the server and run it.










share|improve this question















I wonder if it's possible to make file transfers through VNC using only the command line. This question illustrates how to copy text from one window to another, but I haven't found a way to move files using the command line.



In my case, I need to move a batch file from the client to the server and run it.







file-transfer vnc






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 20 '17 at 10:17









Community

1




1










asked Mar 14 '16 at 18:40









Sebi

312722




312722












  • VNC isn’t suitable for that. Why not use a proper file transfer protocol?
    – Daniel B
    Mar 14 '16 at 18:54










  • I have no control over the remote machine which is only reachable through VNC.
    – Sebi
    Mar 14 '16 at 18:57






  • 1




    You’re out of luck then, because VNC offers no standardized file transfer mechanism. There are only vendor-specific implementations, so you’ll have to provide more details on the operating systems involved as well as the VNC server and client software.
    – Daniel B
    Mar 14 '16 at 18:59










  • The remote machine is running windows 7, the host debian and both are using openvnc.
    – Sebi
    Mar 14 '16 at 19:01










  • There’s no such thing as “openvnc”. Please provide a link to the homepage.
    – Daniel B
    Mar 14 '16 at 19:17


















  • VNC isn’t suitable for that. Why not use a proper file transfer protocol?
    – Daniel B
    Mar 14 '16 at 18:54










  • I have no control over the remote machine which is only reachable through VNC.
    – Sebi
    Mar 14 '16 at 18:57






  • 1




    You’re out of luck then, because VNC offers no standardized file transfer mechanism. There are only vendor-specific implementations, so you’ll have to provide more details on the operating systems involved as well as the VNC server and client software.
    – Daniel B
    Mar 14 '16 at 18:59










  • The remote machine is running windows 7, the host debian and both are using openvnc.
    – Sebi
    Mar 14 '16 at 19:01










  • There’s no such thing as “openvnc”. Please provide a link to the homepage.
    – Daniel B
    Mar 14 '16 at 19:17
















VNC isn’t suitable for that. Why not use a proper file transfer protocol?
– Daniel B
Mar 14 '16 at 18:54




VNC isn’t suitable for that. Why not use a proper file transfer protocol?
– Daniel B
Mar 14 '16 at 18:54












I have no control over the remote machine which is only reachable through VNC.
– Sebi
Mar 14 '16 at 18:57




I have no control over the remote machine which is only reachable through VNC.
– Sebi
Mar 14 '16 at 18:57




1




1




You’re out of luck then, because VNC offers no standardized file transfer mechanism. There are only vendor-specific implementations, so you’ll have to provide more details on the operating systems involved as well as the VNC server and client software.
– Daniel B
Mar 14 '16 at 18:59




You’re out of luck then, because VNC offers no standardized file transfer mechanism. There are only vendor-specific implementations, so you’ll have to provide more details on the operating systems involved as well as the VNC server and client software.
– Daniel B
Mar 14 '16 at 18:59












The remote machine is running windows 7, the host debian and both are using openvnc.
– Sebi
Mar 14 '16 at 19:01




The remote machine is running windows 7, the host debian and both are using openvnc.
– Sebi
Mar 14 '16 at 19:01












There’s no such thing as “openvnc”. Please provide a link to the homepage.
– Daniel B
Mar 14 '16 at 19:17




There’s no such thing as “openvnc”. Please provide a link to the homepage.
– Daniel B
Mar 14 '16 at 19:17










2 Answers
2






active

oldest

votes

















up vote
0
down vote













VNC doesn't do file transfer, at least consistently. You need something else for file transfer.



If both hosts were using Linux, or the remote Linux and the local Windows, I'd suggest SCP. But since the remote machine is running Windows, I suggest installing an FTP server. If it's over the Internet and/or the data is sensitive, use something more secure like SFTP. A good server is FileZilla. For the client, you can use the ftp command.






share|improve this answer























  • But is it possible to run the commands in the batch file in sequence as the appear in the file through VNC so that file transfer is not necessary?
    – Sebi
    Mar 14 '16 at 19:15






  • 1




    As far as I know, command-line VNC is impossible.
    – Duncan X Simpson
    Mar 14 '16 at 19:17


















up vote
0
down vote














  1. TightVNC offers file transfer. What flavor of VNC server is installed on the remote host?

  2. Using clipboard copy and paste, open a remote file, save it as a .cmd file, and then copy/paste the contents of the batch file from the local machine to the remote. Then save the remote file.






share|improve this answer





















  • I cannot use the clipboard copy paste option. The client runs on debian and the server on windows.
    – Sebi
    Mar 14 '16 at 20:51











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
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1052815%2fmoving-files-from-one-host-to-another-vnc%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













VNC doesn't do file transfer, at least consistently. You need something else for file transfer.



If both hosts were using Linux, or the remote Linux and the local Windows, I'd suggest SCP. But since the remote machine is running Windows, I suggest installing an FTP server. If it's over the Internet and/or the data is sensitive, use something more secure like SFTP. A good server is FileZilla. For the client, you can use the ftp command.






share|improve this answer























  • But is it possible to run the commands in the batch file in sequence as the appear in the file through VNC so that file transfer is not necessary?
    – Sebi
    Mar 14 '16 at 19:15






  • 1




    As far as I know, command-line VNC is impossible.
    – Duncan X Simpson
    Mar 14 '16 at 19:17















up vote
0
down vote













VNC doesn't do file transfer, at least consistently. You need something else for file transfer.



If both hosts were using Linux, or the remote Linux and the local Windows, I'd suggest SCP. But since the remote machine is running Windows, I suggest installing an FTP server. If it's over the Internet and/or the data is sensitive, use something more secure like SFTP. A good server is FileZilla. For the client, you can use the ftp command.






share|improve this answer























  • But is it possible to run the commands in the batch file in sequence as the appear in the file through VNC so that file transfer is not necessary?
    – Sebi
    Mar 14 '16 at 19:15






  • 1




    As far as I know, command-line VNC is impossible.
    – Duncan X Simpson
    Mar 14 '16 at 19:17













up vote
0
down vote










up vote
0
down vote









VNC doesn't do file transfer, at least consistently. You need something else for file transfer.



If both hosts were using Linux, or the remote Linux and the local Windows, I'd suggest SCP. But since the remote machine is running Windows, I suggest installing an FTP server. If it's over the Internet and/or the data is sensitive, use something more secure like SFTP. A good server is FileZilla. For the client, you can use the ftp command.






share|improve this answer














VNC doesn't do file transfer, at least consistently. You need something else for file transfer.



If both hosts were using Linux, or the remote Linux and the local Windows, I'd suggest SCP. But since the remote machine is running Windows, I suggest installing an FTP server. If it's over the Internet and/or the data is sensitive, use something more secure like SFTP. A good server is FileZilla. For the client, you can use the ftp command.







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 14 '16 at 19:30

























answered Mar 14 '16 at 19:13









Duncan X Simpson

1,063821




1,063821












  • But is it possible to run the commands in the batch file in sequence as the appear in the file through VNC so that file transfer is not necessary?
    – Sebi
    Mar 14 '16 at 19:15






  • 1




    As far as I know, command-line VNC is impossible.
    – Duncan X Simpson
    Mar 14 '16 at 19:17


















  • But is it possible to run the commands in the batch file in sequence as the appear in the file through VNC so that file transfer is not necessary?
    – Sebi
    Mar 14 '16 at 19:15






  • 1




    As far as I know, command-line VNC is impossible.
    – Duncan X Simpson
    Mar 14 '16 at 19:17
















But is it possible to run the commands in the batch file in sequence as the appear in the file through VNC so that file transfer is not necessary?
– Sebi
Mar 14 '16 at 19:15




But is it possible to run the commands in the batch file in sequence as the appear in the file through VNC so that file transfer is not necessary?
– Sebi
Mar 14 '16 at 19:15




1




1




As far as I know, command-line VNC is impossible.
– Duncan X Simpson
Mar 14 '16 at 19:17




As far as I know, command-line VNC is impossible.
– Duncan X Simpson
Mar 14 '16 at 19:17












up vote
0
down vote














  1. TightVNC offers file transfer. What flavor of VNC server is installed on the remote host?

  2. Using clipboard copy and paste, open a remote file, save it as a .cmd file, and then copy/paste the contents of the batch file from the local machine to the remote. Then save the remote file.






share|improve this answer





















  • I cannot use the clipboard copy paste option. The client runs on debian and the server on windows.
    – Sebi
    Mar 14 '16 at 20:51















up vote
0
down vote














  1. TightVNC offers file transfer. What flavor of VNC server is installed on the remote host?

  2. Using clipboard copy and paste, open a remote file, save it as a .cmd file, and then copy/paste the contents of the batch file from the local machine to the remote. Then save the remote file.






share|improve this answer





















  • I cannot use the clipboard copy paste option. The client runs on debian and the server on windows.
    – Sebi
    Mar 14 '16 at 20:51













up vote
0
down vote










up vote
0
down vote










  1. TightVNC offers file transfer. What flavor of VNC server is installed on the remote host?

  2. Using clipboard copy and paste, open a remote file, save it as a .cmd file, and then copy/paste the contents of the batch file from the local machine to the remote. Then save the remote file.






share|improve this answer













  1. TightVNC offers file transfer. What flavor of VNC server is installed on the remote host?

  2. Using clipboard copy and paste, open a remote file, save it as a .cmd file, and then copy/paste the contents of the batch file from the local machine to the remote. Then save the remote file.







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 14 '16 at 19:58









Bob

28115




28115












  • I cannot use the clipboard copy paste option. The client runs on debian and the server on windows.
    – Sebi
    Mar 14 '16 at 20:51


















  • I cannot use the clipboard copy paste option. The client runs on debian and the server on windows.
    – Sebi
    Mar 14 '16 at 20:51
















I cannot use the clipboard copy paste option. The client runs on debian and the server on windows.
– Sebi
Mar 14 '16 at 20:51




I cannot use the clipboard copy paste option. The client runs on debian and the server on windows.
– Sebi
Mar 14 '16 at 20:51


















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1052815%2fmoving-files-from-one-host-to-another-vnc%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

"Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

Alcedinidae

Origin of the phrase “under your belt”?