Lsyncd would be a good solution for this.
Lsyncd watches a local directory trees event monitor interface (inotify or fsevents). It aggregates and combines events for a few seconds and then spawns one (or more) process(es) to synchronize the changes. By default this is rsync. Lsyncd is thus a light-weight live mirror solution that is comparatively easy to ...
I need this a lot since my code needs to run on remote boxes and I write code on local machine. I found a nice tool which you can use to continuously monitor your local folders and sync them to remote or local folder: https://github.com/axkibe/lsyncd
A simple command to continuously sync a local dir with remote machine over ssh will be:
lsyncd -log all -...
Try this method.
login into your saved session
go to session menu
click on generate URL
only check username and password options (If you need current directory path click on this option aswell)
You have multiple options, URL/Script/.Net Assembly, select desired.
click on copy to clip board.
it will contain username and password.
First you need get public key in a format for OpenSSH authorized_keys file.
In WinSCP 5.15, you can use Display Public key on SSH > Authentication page of Advanced Site Settings dialog:
Or you can use PuTTYgen - It's a part of PuTTY package, but WinSCP comes with its own copy (use Tools > Run PuTTYgen on WinSCP Login dialog).
Load your ...
I was getting the same error in WinSCP. One solution is to change the ownership of the '/www/' folder using chown. That way, you can make the user you log in with into the owner instead of 'root' being owner. I am using an instance of Amazon Linux rather than Ubuntu, but this command worked for me:
sudo chown -R -v ec2-user /var/www/
The user 'ec2-user' is ...
alias run_rsync='rsync -azP --exclude ".*/" --exclude ".*" --exclude "tmp/" /source_folder username@host:/destination_folder'
run_rsync; fswatch -o . | while read f; do run_rsync; done
Second line runs run_rsync once unconditionally and then - on each change in current directory (or specify exact path instead of .)
You will need fswatch - here is how to ...
This is based on the WinSCP "Useful commands" page entry for "delete" with some important missing steps added.
These steps you only need to do once:
Right-click some test directory to delete
Choose Custom commands > Customize
Click the "Add" button
Under "Description" give it a name of your choice, like "Delete"
Under "Custom command" you have a choice:
This is a simplified version of Cesar's excellent answer and assumes your password still works in SCP.
Create a batch file called echo.cmd that contains the following:
Place it on a suitable place, such as your desktop.
Fire up WinSCP and connect to your site. Click on Options -> Preferences:
On the Preferences dialog, go to Integration ...
Follow the below steps to troubleshoot and resolve your problem
Task Scheduler Properties. . .
From Windows Task Scheduler on the job properties (see bottom most screen shots) in the. . .
1. General tab, ensure that the below options are select/checked or unchecked just as shown in Print Screen A
Uncheck Run only when user is logged on
Check Run whether ...
My preferred way of backing up a remote virtual server is to simply copy files - the kernel is on the host anyway. Of course, you will have to exercise some care when restoring, and it may not be possible to do a full restore (unlike a disk image). On the other hand, it's easier to migrate to another server, such as a local one for testing.
Now, downloading ...
What you want to do, can definitely be done with FTP. Technically it's the same, what any FTP client does, when resuming an interrupted file download.
Though from a user perspective, I do not know, if any FTP client supports an explicit download of only given number of trailing bytes.
But some FTP clients will definitely allow you to download new trailing ...
Despite the extension, it's actually a PE file just like typical exe files and not a COM file. Any extension that's listed in the PATHEXT environment variable will be considered executable, and then when opening the file Windows will check the signature to determine what type of executable it is (PE, NE, COM...) and execute accordingly. Try renaming any *....
Create a new C# console application, then type the following program:
static void Main(string args)
foreach (var str in args)
If you are not a C# programmer, you can ...
I had a very weird use case, I needed to recover my password, but my system admins had locked down my environment so I couldn't run any non-whitelisted executable files, and that included .cmd files.
My solution was to instead point the Putty command line to Notepad++.
When it ran it said "File -pw" does not exist, should I create it, you say no.
Then it ...
Putty and WinSCP use the same underlying SSH2 protocol, the degree of security is mostly determined by this protocol.
The two programs aren't really comparable, WinSCP is a Secure Copy (SCP) client, Putty comes with an equivalent called pscp, but pscp is a command-line client not a GUI client. Putty is perhaps mainly used for remote shell access - entering ...
There is a FAQ for this question on WinSCP site:
How do I change user after login (e.g. su root)?
You need to specify the sudo command in WinSCP session settings, as a custom shell (if you are using SCP) or use the sudo in a custom SFTP server startup command (if you are using SFTP).
Though there are some limitations, notably that you need to configure the ...
I'm going to assume you can already sudo to the user in question ...
... in WinSCP setup for a new site:
Session: File protocol: SCP
Session: host name: my-host-name
Session: user name: MY-user-name
CLICK Advanced... BUTTON
Advanced: left-hand-navigator select SCP/Shell
Advanced:Shell: MAGIC-HAPPENS-HERE The "pick list" for Shell has "Default" ...
The answer by @ᔕᖺᘎᕊ is correct regarding enabling the option.
See the documentation for details:
Though note, that it is only a workaround, as the full error message says:
Upload of file ... was successful, but error occurred while setting the permissions and/or timestamp.
If the problem ...
I just used Fugu to copy files from ssh server to a samba share, and it works great.
Fugu can also be installed using brew cask install fugu from Homebrew Cask (not the one from Homebrew itself).
And for me the SSH connection is easier to setup in Fugu compared to cyberduck.
I couldn't find any detailed information about "WinSCP continually checking for changes and uploading changed files", but it's hard to believe that it would be more effective than rsync.
If you're looking for a near-real-time solution (i.e. an rsync cron job every minute is not enough for your purpose), something like lsyncd or rsync-inotify or pirsyncd ...
You cannot use SSH on Windows out of the box. Windows doesn't have SSH server installed.
freeSSHd, suggested by another answer, has not been updated for years. I would not recommend you to use it.
There are lot of other alternatives. Just search for "free ssh server for windows".
Microsoft recently released Windows build of OpenSSH server.
See my guide ...
WinSCP used the affected OpenSSL 1.0.1 since versions 4.3.8 and 5.0.7 beta in respective branches.
WinSCP 5.5.3 upgraded to the OpenSSL 1.0.1g to address the vulnerability. Branch 4.x is not supported anymore and is not planned to be upgraded.
Note that OpenSSL is used by WinSCP with FTP over TLS/SSL only. Majority (about 98%) of WinSCP users use SSH (SFTP/...
WinSCP does not use known_hosts file. Like PuTTY, it stores known host keys into Windows registry (or optionally an INI file)
[HKEY_CURRENT_USER\SOFTWARE\Martin Prikryl\WinSCP 2\SshHostKeys]
The format of the keys is different to that of known_hosts.
If you have the host key cached on another machine, you can copy it over to the new machine.
You can also ...
Did you try ownCloud? It seems that it would fit with your use case of a "Dropbox-like".
And it can use FTP as a backend for storage.
If you're OK with doing/funding a bit of development or waiting for a new release, Syncany is apparently developing what you're looking for, and FTPBox runs on .NET Framework 4, which Mono supports (with a few exceptions) on ...
I know this question is old. WinSCP 5+ works well in Mac OS X 10.11 (El Capitan) - MacOS 10.14 (Mojave) with Wine 3+.
A word to the wise on using either Cyberduck or Firefox to transfer files. If you copy a file and OS X complains about it being damaged, it is likely that the quarantine extended attribute has been set. To remove it from a file: xattr -dr ...
The answer by @David Spillett is correct for files in the current directory.
If you want to do this recursively, use a transfer file mask.
The mask would be the same as David suggested, i.e. *.php;*.js.
For more details, check file mask syntax.