Best way to transfer files from Windows to Windows via InternetFTP/SFTP with Windows LaptopResume file...
Arrow those variables!
Is it canonical bit space?
Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?
Is the Joker left-handed?
How to take photos in burst mode, without vibration?
I Accidentally Deleted a Stock Terminal Theme
Blender 2.8 I can't see vertices, edges or faces in edit mode
Why is it a bad idea to hire a hitman to eliminate most corrupt politicians?
Should I tell management that I intend to leave due to bad software development practices?
Can I ask the recruiters in my resume to put the reason why I am rejected?
Do I have a twin with permutated remainders?
Where does SFDX store details about scratch orgs?
Is it legal for company to use my work email to pretend I still work there?
What is the most common color to indicate the input-field is disabled?
Facing a paradox: Earnshaw's theorem in one dimension
What exploit are these user agents trying to use?
What is the word for reserving something for yourself before others do?
What is a clear way to write a bar that has an extra beat?
Were any external disk drives stacked vertically?
Modeling an IP Address
What do you call someone who asks many questions?
How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?
CEO ridiculed me with gay jokes and grabbed me and wouldn't let go - now getting pushed out of company
Has there ever been an airliner design involving reducing generator load by installing solar panels?
Best way to transfer files from Windows to Windows via Internet
FTP/SFTP with Windows LaptopResume file transfers between 2 Windows PCs, no ftpIs there a convenient method to pull files from a server in an SSH session?Best way to transfer files over a LAN between two Linux computersTransfer folders and files from Linux to Winows using SCP as protocol in WinSCP.com (command line utility)Transfer file via SSH from server back to clientinput/output error while copying PNG files from Linux server to desktop using SCP in CygwinHow does an FTP client set file permissions on server?Transfer files between two FTP serverSCP vs SFTP for data transfer over 4G cellular connectionFTP transfer fails with error 426
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I’m looking for the best way to transfer files from my computer to another person’s computer.
We both use Windows and I can use some external programs like TeamViewer for file transfers but I found the speed lacking. So I tried to find some other means of transferring the data. On Linux this is so simple since you have scp
and ftp
and all that. But on Windows, there’s no such support; at least not natively.
So I tried TeamViewer (but slow speeds), then there’s WinSCP but we would need to set up a server of some sort (ssh daemon
?).
PSCP doesn't work either, it just gives me the error:
local to local transfer not supported.
FTP needs an FTP server too.
What other options are there? What’s a preferred method of transferring files?
I guess I could use BitTorrent technology but I would need tracker addresses. Of course, these aren’t that hard to find but is there really an equivalent for the Linux way of transferring files using command line options or something that allows client to client transfer of data easily and fast?
windows ssh ftp file-transfer scp
|
show 1 more comment
I’m looking for the best way to transfer files from my computer to another person’s computer.
We both use Windows and I can use some external programs like TeamViewer for file transfers but I found the speed lacking. So I tried to find some other means of transferring the data. On Linux this is so simple since you have scp
and ftp
and all that. But on Windows, there’s no such support; at least not natively.
So I tried TeamViewer (but slow speeds), then there’s WinSCP but we would need to set up a server of some sort (ssh daemon
?).
PSCP doesn't work either, it just gives me the error:
local to local transfer not supported.
FTP needs an FTP server too.
What other options are there? What’s a preferred method of transferring files?
I guess I could use BitTorrent technology but I would need tracker addresses. Of course, these aren’t that hard to find but is there really an equivalent for the Linux way of transferring files using command line options or something that allows client to client transfer of data easily and fast?
windows ssh ftp file-transfer scp
Cygwin has ftp, ssh, scp, ...
– DavidPostill♦
Sep 2 '15 at 7:04
1
@DavidPostill That's true. This still needs additional software to be downloaded though.. There isn't really anything in Windows natively that allows filetransfers from client to client?
– enrm
Sep 2 '15 at 9:08
If they are on different networks then not really (at least not in any secure way). There is fileai.com "fileai.com is a free web site that enables people to securely share files with one another that cannot be easily sent via e-mail. You don't need to download or install any software, and your files are not uploaded to any server. The files are encrypted and sent directly, peer-to-peer, through your existing web browser. "
– DavidPostill♦
Sep 2 '15 at 9:17
@DavidPostill looked into that.. Seems like a good alternative. I wonder what the transfer rate is.. Will have to investigate
– enrm
Sep 2 '15 at 11:45
(1) Burn to external/movable/removable media (such as an external drive or optical discs) and sneakernet. (2) If both machines have access to the Internet, and you're not paranoid about Big Brother reading your files, email them to the operator of the destination computer (or use other online storage).
– Scott
Sep 4 '15 at 22:33
|
show 1 more comment
I’m looking for the best way to transfer files from my computer to another person’s computer.
We both use Windows and I can use some external programs like TeamViewer for file transfers but I found the speed lacking. So I tried to find some other means of transferring the data. On Linux this is so simple since you have scp
and ftp
and all that. But on Windows, there’s no such support; at least not natively.
So I tried TeamViewer (but slow speeds), then there’s WinSCP but we would need to set up a server of some sort (ssh daemon
?).
PSCP doesn't work either, it just gives me the error:
local to local transfer not supported.
FTP needs an FTP server too.
What other options are there? What’s a preferred method of transferring files?
I guess I could use BitTorrent technology but I would need tracker addresses. Of course, these aren’t that hard to find but is there really an equivalent for the Linux way of transferring files using command line options or something that allows client to client transfer of data easily and fast?
windows ssh ftp file-transfer scp
I’m looking for the best way to transfer files from my computer to another person’s computer.
We both use Windows and I can use some external programs like TeamViewer for file transfers but I found the speed lacking. So I tried to find some other means of transferring the data. On Linux this is so simple since you have scp
and ftp
and all that. But on Windows, there’s no such support; at least not natively.
So I tried TeamViewer (but slow speeds), then there’s WinSCP but we would need to set up a server of some sort (ssh daemon
?).
PSCP doesn't work either, it just gives me the error:
local to local transfer not supported.
FTP needs an FTP server too.
What other options are there? What’s a preferred method of transferring files?
I guess I could use BitTorrent technology but I would need tracker addresses. Of course, these aren’t that hard to find but is there really an equivalent for the Linux way of transferring files using command line options or something that allows client to client transfer of data easily and fast?
windows ssh ftp file-transfer scp
windows ssh ftp file-transfer scp
edited Sep 5 '15 at 0:13
JakeGould
32.7k10100142
32.7k10100142
asked Sep 2 '15 at 6:59
enrmenrm
2816
2816
Cygwin has ftp, ssh, scp, ...
– DavidPostill♦
Sep 2 '15 at 7:04
1
@DavidPostill That's true. This still needs additional software to be downloaded though.. There isn't really anything in Windows natively that allows filetransfers from client to client?
– enrm
Sep 2 '15 at 9:08
If they are on different networks then not really (at least not in any secure way). There is fileai.com "fileai.com is a free web site that enables people to securely share files with one another that cannot be easily sent via e-mail. You don't need to download or install any software, and your files are not uploaded to any server. The files are encrypted and sent directly, peer-to-peer, through your existing web browser. "
– DavidPostill♦
Sep 2 '15 at 9:17
@DavidPostill looked into that.. Seems like a good alternative. I wonder what the transfer rate is.. Will have to investigate
– enrm
Sep 2 '15 at 11:45
(1) Burn to external/movable/removable media (such as an external drive or optical discs) and sneakernet. (2) If both machines have access to the Internet, and you're not paranoid about Big Brother reading your files, email them to the operator of the destination computer (or use other online storage).
– Scott
Sep 4 '15 at 22:33
|
show 1 more comment
Cygwin has ftp, ssh, scp, ...
– DavidPostill♦
Sep 2 '15 at 7:04
1
@DavidPostill That's true. This still needs additional software to be downloaded though.. There isn't really anything in Windows natively that allows filetransfers from client to client?
– enrm
Sep 2 '15 at 9:08
If they are on different networks then not really (at least not in any secure way). There is fileai.com "fileai.com is a free web site that enables people to securely share files with one another that cannot be easily sent via e-mail. You don't need to download or install any software, and your files are not uploaded to any server. The files are encrypted and sent directly, peer-to-peer, through your existing web browser. "
– DavidPostill♦
Sep 2 '15 at 9:17
@DavidPostill looked into that.. Seems like a good alternative. I wonder what the transfer rate is.. Will have to investigate
– enrm
Sep 2 '15 at 11:45
(1) Burn to external/movable/removable media (such as an external drive or optical discs) and sneakernet. (2) If both machines have access to the Internet, and you're not paranoid about Big Brother reading your files, email them to the operator of the destination computer (or use other online storage).
– Scott
Sep 4 '15 at 22:33
Cygwin has ftp, ssh, scp, ...
– DavidPostill♦
Sep 2 '15 at 7:04
Cygwin has ftp, ssh, scp, ...
– DavidPostill♦
Sep 2 '15 at 7:04
1
1
@DavidPostill That's true. This still needs additional software to be downloaded though.. There isn't really anything in Windows natively that allows filetransfers from client to client?
– enrm
Sep 2 '15 at 9:08
@DavidPostill That's true. This still needs additional software to be downloaded though.. There isn't really anything in Windows natively that allows filetransfers from client to client?
– enrm
Sep 2 '15 at 9:08
If they are on different networks then not really (at least not in any secure way). There is fileai.com "fileai.com is a free web site that enables people to securely share files with one another that cannot be easily sent via e-mail. You don't need to download or install any software, and your files are not uploaded to any server. The files are encrypted and sent directly, peer-to-peer, through your existing web browser. "
– DavidPostill♦
Sep 2 '15 at 9:17
If they are on different networks then not really (at least not in any secure way). There is fileai.com "fileai.com is a free web site that enables people to securely share files with one another that cannot be easily sent via e-mail. You don't need to download or install any software, and your files are not uploaded to any server. The files are encrypted and sent directly, peer-to-peer, through your existing web browser. "
– DavidPostill♦
Sep 2 '15 at 9:17
@DavidPostill looked into that.. Seems like a good alternative. I wonder what the transfer rate is.. Will have to investigate
– enrm
Sep 2 '15 at 11:45
@DavidPostill looked into that.. Seems like a good alternative. I wonder what the transfer rate is.. Will have to investigate
– enrm
Sep 2 '15 at 11:45
(1) Burn to external/movable/removable media (such as an external drive or optical discs) and sneakernet. (2) If both machines have access to the Internet, and you're not paranoid about Big Brother reading your files, email them to the operator of the destination computer (or use other online storage).
– Scott
Sep 4 '15 at 22:33
(1) Burn to external/movable/removable media (such as an external drive or optical discs) and sneakernet. (2) If both machines have access to the Internet, and you're not paranoid about Big Brother reading your files, email them to the operator of the destination computer (or use other online storage).
– Scott
Sep 4 '15 at 22:33
|
show 1 more comment
3 Answers
3
active
oldest
votes
The only native file transfer solution in Windows is the FTP server built into the IIS (web server). It's not running by default. Note that you can use the IIS to setup an FTP server even without setting up a website.
When setting up the FTP server in the IIS, make sure you force TLS/SSL encryption (FTPS) and disallow anonymous authentication, for security.
See (my) guide on Installing Secure FTP Server on Windows using IIS.
Once you have the FTP(S) server set up, you can use any FTP client. Windows Explorer itself does support FTP(S). Though note that the Windows built-in command-line ftp.exe
client is useless as it does not support the TLS/SSL or a passive mode (so it can hardly connect though firewalls and NATs).
There's no native SSH/SFTP/SCP server in Windows, though there are lot of 3rd-party implementations.
Microsoft recently released OpenSSH for Windows. Since Windows 10 version 1803, it can be installed as an optional feature of Windows.
I have prepared a guide for setting up SSH/SFTP server on Windows using this Microsoft build of OpenSSH.
Good point. Will look into this
– enrm
Sep 2 '15 at 9:08
Hey, offtopic but you might be able to help me anyway; I want to allow user(s) to access the ftp server which is just a directory atm by using my domain name such as transfer.example.com. How do I port forward this? At the moment i already have a port forward rule for 22 to a rPi on my network, but I suppose I need to define a Virtual Server from within my router so that anything from transfer.example.com:1337 gets redirected to my internal ip address and port 21 (for example) .. In IIS you can edit what DNS name should be used so I put in my transfer.example.com there.. with port 21.
– enrm
Sep 2 '15 at 11:19
Please start a new question for this. This is Q&A site, not a discussion forum.
– Martin Prikryl
Sep 2 '15 at 11:26
add a comment |
You can use Powershell remoting (since Powershell 5)
There are plenty of examples at https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/copy-item
which you can also get by running Help Copy-Item -Examples
in Powershell.
This is a simple example of copying a local file to a remote computer.
Example 5: Copy a file to a remote computer
$Session = New-PSSession -ComputerName "Server01" -Credential "ContosoPattiFul"
Copy-Item "C:MyRemoteDatatest.log" -Destination "D:MyLocalData" -FromSession $Session
add a comment |
To day it's possible to use a native scp at Windows 10, you can install it by configuration menu, or by PowerShell, for the last option, here is the code:
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
Start-Service sshd
Set-Service -Name sshd -StartupType 'Automatic'
Set-Service -Name ssh-agent -StartupType 'Automatic'
Start-Service ssh-agent
For incoming conections we need the OpenSSH Server, and for outgoing, the client.
Remember, if you have an antivirus software with firewall, create outgoing and incoming rules for ssh at port 22
New contributor
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',
autoActivateHeartbeat: false,
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%2f966163%2fbest-way-to-transfer-files-from-windows-to-windows-via-internet%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
The only native file transfer solution in Windows is the FTP server built into the IIS (web server). It's not running by default. Note that you can use the IIS to setup an FTP server even without setting up a website.
When setting up the FTP server in the IIS, make sure you force TLS/SSL encryption (FTPS) and disallow anonymous authentication, for security.
See (my) guide on Installing Secure FTP Server on Windows using IIS.
Once you have the FTP(S) server set up, you can use any FTP client. Windows Explorer itself does support FTP(S). Though note that the Windows built-in command-line ftp.exe
client is useless as it does not support the TLS/SSL or a passive mode (so it can hardly connect though firewalls and NATs).
There's no native SSH/SFTP/SCP server in Windows, though there are lot of 3rd-party implementations.
Microsoft recently released OpenSSH for Windows. Since Windows 10 version 1803, it can be installed as an optional feature of Windows.
I have prepared a guide for setting up SSH/SFTP server on Windows using this Microsoft build of OpenSSH.
Good point. Will look into this
– enrm
Sep 2 '15 at 9:08
Hey, offtopic but you might be able to help me anyway; I want to allow user(s) to access the ftp server which is just a directory atm by using my domain name such as transfer.example.com. How do I port forward this? At the moment i already have a port forward rule for 22 to a rPi on my network, but I suppose I need to define a Virtual Server from within my router so that anything from transfer.example.com:1337 gets redirected to my internal ip address and port 21 (for example) .. In IIS you can edit what DNS name should be used so I put in my transfer.example.com there.. with port 21.
– enrm
Sep 2 '15 at 11:19
Please start a new question for this. This is Q&A site, not a discussion forum.
– Martin Prikryl
Sep 2 '15 at 11:26
add a comment |
The only native file transfer solution in Windows is the FTP server built into the IIS (web server). It's not running by default. Note that you can use the IIS to setup an FTP server even without setting up a website.
When setting up the FTP server in the IIS, make sure you force TLS/SSL encryption (FTPS) and disallow anonymous authentication, for security.
See (my) guide on Installing Secure FTP Server on Windows using IIS.
Once you have the FTP(S) server set up, you can use any FTP client. Windows Explorer itself does support FTP(S). Though note that the Windows built-in command-line ftp.exe
client is useless as it does not support the TLS/SSL or a passive mode (so it can hardly connect though firewalls and NATs).
There's no native SSH/SFTP/SCP server in Windows, though there are lot of 3rd-party implementations.
Microsoft recently released OpenSSH for Windows. Since Windows 10 version 1803, it can be installed as an optional feature of Windows.
I have prepared a guide for setting up SSH/SFTP server on Windows using this Microsoft build of OpenSSH.
Good point. Will look into this
– enrm
Sep 2 '15 at 9:08
Hey, offtopic but you might be able to help me anyway; I want to allow user(s) to access the ftp server which is just a directory atm by using my domain name such as transfer.example.com. How do I port forward this? At the moment i already have a port forward rule for 22 to a rPi on my network, but I suppose I need to define a Virtual Server from within my router so that anything from transfer.example.com:1337 gets redirected to my internal ip address and port 21 (for example) .. In IIS you can edit what DNS name should be used so I put in my transfer.example.com there.. with port 21.
– enrm
Sep 2 '15 at 11:19
Please start a new question for this. This is Q&A site, not a discussion forum.
– Martin Prikryl
Sep 2 '15 at 11:26
add a comment |
The only native file transfer solution in Windows is the FTP server built into the IIS (web server). It's not running by default. Note that you can use the IIS to setup an FTP server even without setting up a website.
When setting up the FTP server in the IIS, make sure you force TLS/SSL encryption (FTPS) and disallow anonymous authentication, for security.
See (my) guide on Installing Secure FTP Server on Windows using IIS.
Once you have the FTP(S) server set up, you can use any FTP client. Windows Explorer itself does support FTP(S). Though note that the Windows built-in command-line ftp.exe
client is useless as it does not support the TLS/SSL or a passive mode (so it can hardly connect though firewalls and NATs).
There's no native SSH/SFTP/SCP server in Windows, though there are lot of 3rd-party implementations.
Microsoft recently released OpenSSH for Windows. Since Windows 10 version 1803, it can be installed as an optional feature of Windows.
I have prepared a guide for setting up SSH/SFTP server on Windows using this Microsoft build of OpenSSH.
The only native file transfer solution in Windows is the FTP server built into the IIS (web server). It's not running by default. Note that you can use the IIS to setup an FTP server even without setting up a website.
When setting up the FTP server in the IIS, make sure you force TLS/SSL encryption (FTPS) and disallow anonymous authentication, for security.
See (my) guide on Installing Secure FTP Server on Windows using IIS.
Once you have the FTP(S) server set up, you can use any FTP client. Windows Explorer itself does support FTP(S). Though note that the Windows built-in command-line ftp.exe
client is useless as it does not support the TLS/SSL or a passive mode (so it can hardly connect though firewalls and NATs).
There's no native SSH/SFTP/SCP server in Windows, though there are lot of 3rd-party implementations.
Microsoft recently released OpenSSH for Windows. Since Windows 10 version 1803, it can be installed as an optional feature of Windows.
I have prepared a guide for setting up SSH/SFTP server on Windows using this Microsoft build of OpenSSH.
edited Jun 13 '18 at 13:28
answered Sep 2 '15 at 7:34
Martin PrikrylMartin Prikryl
11.2k43379
11.2k43379
Good point. Will look into this
– enrm
Sep 2 '15 at 9:08
Hey, offtopic but you might be able to help me anyway; I want to allow user(s) to access the ftp server which is just a directory atm by using my domain name such as transfer.example.com. How do I port forward this? At the moment i already have a port forward rule for 22 to a rPi on my network, but I suppose I need to define a Virtual Server from within my router so that anything from transfer.example.com:1337 gets redirected to my internal ip address and port 21 (for example) .. In IIS you can edit what DNS name should be used so I put in my transfer.example.com there.. with port 21.
– enrm
Sep 2 '15 at 11:19
Please start a new question for this. This is Q&A site, not a discussion forum.
– Martin Prikryl
Sep 2 '15 at 11:26
add a comment |
Good point. Will look into this
– enrm
Sep 2 '15 at 9:08
Hey, offtopic but you might be able to help me anyway; I want to allow user(s) to access the ftp server which is just a directory atm by using my domain name such as transfer.example.com. How do I port forward this? At the moment i already have a port forward rule for 22 to a rPi on my network, but I suppose I need to define a Virtual Server from within my router so that anything from transfer.example.com:1337 gets redirected to my internal ip address and port 21 (for example) .. In IIS you can edit what DNS name should be used so I put in my transfer.example.com there.. with port 21.
– enrm
Sep 2 '15 at 11:19
Please start a new question for this. This is Q&A site, not a discussion forum.
– Martin Prikryl
Sep 2 '15 at 11:26
Good point. Will look into this
– enrm
Sep 2 '15 at 9:08
Good point. Will look into this
– enrm
Sep 2 '15 at 9:08
Hey, offtopic but you might be able to help me anyway; I want to allow user(s) to access the ftp server which is just a directory atm by using my domain name such as transfer.example.com. How do I port forward this? At the moment i already have a port forward rule for 22 to a rPi on my network, but I suppose I need to define a Virtual Server from within my router so that anything from transfer.example.com:1337 gets redirected to my internal ip address and port 21 (for example) .. In IIS you can edit what DNS name should be used so I put in my transfer.example.com there.. with port 21.
– enrm
Sep 2 '15 at 11:19
Hey, offtopic but you might be able to help me anyway; I want to allow user(s) to access the ftp server which is just a directory atm by using my domain name such as transfer.example.com. How do I port forward this? At the moment i already have a port forward rule for 22 to a rPi on my network, but I suppose I need to define a Virtual Server from within my router so that anything from transfer.example.com:1337 gets redirected to my internal ip address and port 21 (for example) .. In IIS you can edit what DNS name should be used so I put in my transfer.example.com there.. with port 21.
– enrm
Sep 2 '15 at 11:19
Please start a new question for this. This is Q&A site, not a discussion forum.
– Martin Prikryl
Sep 2 '15 at 11:26
Please start a new question for this. This is Q&A site, not a discussion forum.
– Martin Prikryl
Sep 2 '15 at 11:26
add a comment |
You can use Powershell remoting (since Powershell 5)
There are plenty of examples at https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/copy-item
which you can also get by running Help Copy-Item -Examples
in Powershell.
This is a simple example of copying a local file to a remote computer.
Example 5: Copy a file to a remote computer
$Session = New-PSSession -ComputerName "Server01" -Credential "ContosoPattiFul"
Copy-Item "C:MyRemoteDatatest.log" -Destination "D:MyLocalData" -FromSession $Session
add a comment |
You can use Powershell remoting (since Powershell 5)
There are plenty of examples at https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/copy-item
which you can also get by running Help Copy-Item -Examples
in Powershell.
This is a simple example of copying a local file to a remote computer.
Example 5: Copy a file to a remote computer
$Session = New-PSSession -ComputerName "Server01" -Credential "ContosoPattiFul"
Copy-Item "C:MyRemoteDatatest.log" -Destination "D:MyLocalData" -FromSession $Session
add a comment |
You can use Powershell remoting (since Powershell 5)
There are plenty of examples at https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/copy-item
which you can also get by running Help Copy-Item -Examples
in Powershell.
This is a simple example of copying a local file to a remote computer.
Example 5: Copy a file to a remote computer
$Session = New-PSSession -ComputerName "Server01" -Credential "ContosoPattiFul"
Copy-Item "C:MyRemoteDatatest.log" -Destination "D:MyLocalData" -FromSession $Session
You can use Powershell remoting (since Powershell 5)
There are plenty of examples at https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/copy-item
which you can also get by running Help Copy-Item -Examples
in Powershell.
This is a simple example of copying a local file to a remote computer.
Example 5: Copy a file to a remote computer
$Session = New-PSSession -ComputerName "Server01" -Credential "ContosoPattiFul"
Copy-Item "C:MyRemoteDatatest.log" -Destination "D:MyLocalData" -FromSession $Session
edited Sep 19 '18 at 11:05
answered Sep 19 '18 at 4:48
Jason SJason S
1516
1516
add a comment |
add a comment |
To day it's possible to use a native scp at Windows 10, you can install it by configuration menu, or by PowerShell, for the last option, here is the code:
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
Start-Service sshd
Set-Service -Name sshd -StartupType 'Automatic'
Set-Service -Name ssh-agent -StartupType 'Automatic'
Start-Service ssh-agent
For incoming conections we need the OpenSSH Server, and for outgoing, the client.
Remember, if you have an antivirus software with firewall, create outgoing and incoming rules for ssh at port 22
New contributor
add a comment |
To day it's possible to use a native scp at Windows 10, you can install it by configuration menu, or by PowerShell, for the last option, here is the code:
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
Start-Service sshd
Set-Service -Name sshd -StartupType 'Automatic'
Set-Service -Name ssh-agent -StartupType 'Automatic'
Start-Service ssh-agent
For incoming conections we need the OpenSSH Server, and for outgoing, the client.
Remember, if you have an antivirus software with firewall, create outgoing and incoming rules for ssh at port 22
New contributor
add a comment |
To day it's possible to use a native scp at Windows 10, you can install it by configuration menu, or by PowerShell, for the last option, here is the code:
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
Start-Service sshd
Set-Service -Name sshd -StartupType 'Automatic'
Set-Service -Name ssh-agent -StartupType 'Automatic'
Start-Service ssh-agent
For incoming conections we need the OpenSSH Server, and for outgoing, the client.
Remember, if you have an antivirus software with firewall, create outgoing and incoming rules for ssh at port 22
New contributor
To day it's possible to use a native scp at Windows 10, you can install it by configuration menu, or by PowerShell, for the last option, here is the code:
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
Start-Service sshd
Set-Service -Name sshd -StartupType 'Automatic'
Set-Service -Name ssh-agent -StartupType 'Automatic'
Start-Service ssh-agent
For incoming conections we need the OpenSSH Server, and for outgoing, the client.
Remember, if you have an antivirus software with firewall, create outgoing and incoming rules for ssh at port 22
New contributor
New contributor
answered 10 hours ago
JatibJatib
1
1
New contributor
New contributor
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.
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%2f966163%2fbest-way-to-transfer-files-from-windows-to-windows-via-internet%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
Cygwin has ftp, ssh, scp, ...
– DavidPostill♦
Sep 2 '15 at 7:04
1
@DavidPostill That's true. This still needs additional software to be downloaded though.. There isn't really anything in Windows natively that allows filetransfers from client to client?
– enrm
Sep 2 '15 at 9:08
If they are on different networks then not really (at least not in any secure way). There is fileai.com "fileai.com is a free web site that enables people to securely share files with one another that cannot be easily sent via e-mail. You don't need to download or install any software, and your files are not uploaded to any server. The files are encrypted and sent directly, peer-to-peer, through your existing web browser. "
– DavidPostill♦
Sep 2 '15 at 9:17
@DavidPostill looked into that.. Seems like a good alternative. I wonder what the transfer rate is.. Will have to investigate
– enrm
Sep 2 '15 at 11:45
(1) Burn to external/movable/removable media (such as an external drive or optical discs) and sneakernet. (2) If both machines have access to the Internet, and you're not paranoid about Big Brother reading your files, email them to the operator of the destination computer (or use other online storage).
– Scott
Sep 4 '15 at 22:33