I fondly remember working with WinSCP and using the fully automated local-to-remote syncing functionality, where the app would monitor a directory hierarchy and send changes to the remote server as they happened. WinSCP by Martin Prikryl is one of the most popular, powerful and safe FTP (File Transfer Protocol) clients, but when you start working under Mac OS X, it is no longer a viable solution. If you need an application similar to WinSCP for Mac, you can check this list of alternatives to find a replacement.
Assuming you are on Windows, best way is to download and install cygwin. Get the path to the binary folder and add it to the system path. You can now run Linux commands on your command line. Open the command prompt and go to the directory where your file is that you want to copy.
Run the following command; scp file.txt [email protected]:/opt/. scp - secure copy command. file.txt - file you want to copy. root - username used to log onto CentOS machine. 1.1.1.1 - IP address of CentOS machine.
Needless to say your Windows machine and the CentOS machine have to be able to communicate with one another.:/opt - This is the directory with which you save the file to, I generally save everything to the /opt directory. Don't forget the @ between the username and IP Address and the: between the IP Address and directory you are saving the file to If you need a key to login into the server, enter the following; scp key.pem file.txt [email protected]:/opt For handiness sake I just copy the file I want to copy across to the key file directory, that way you know everything will run smoothly. First you have to install any ssh client (OpenSSH) which support command line interface for your windows machine: And add its path to windows Variable: My Windows System output like below: Then you will able to execute the same commands on your windows machine You can copy also complete directory by executing: scp -r path/to/dirname/. root@remote-ip:/path/to/destinationdir To Copy Single File: scp -r path/to/filename.zip user@remote-ip:/path/to/destinationdir/ Replace the file extension with your own file.
WinSCP is a freeware and open source SFTP, SCP and FTP client software for Windows. Key function of the WinSCP is to provide secure file transferring between a local and a remote computer. Moreover, file manager and file synchronization functions are also integrated into WinSCP. It makes the security of file sharing via Secure Shell and supports the SFTP and SCP.
If you are using Altap Salamander file manager or FAR file manager than plug-in of WinSCP is also available for the said programs. In latest version, automatic reconnect feature, recording last task directories and FTP protocol service have been enhanced further. This software comes with an easy and simple to use graphical interface. The exceptional about WinSCP is that it support for safe protocols for file transfer purpose. It allow connections and transfers between a system and a distant server. This tool also supports for drag and drop file system. The tool has a combined text editor and support modern secure encryption and private keys to be deployed to connect and transfer files.
User are allowed to alter administrative rights for files and folders from remote server directly via WinSCP interface. The latest version of WinSCP includes various new features like authentication with SSL/TSL client certificates, WebDAV file locking, automatic updates system, improved transfer speed, improvements in command line and.NET assembly.
WinSCP is going to deliver you the best file transfer system.