Tag Info

Hot answers tagged

20

You can also use inotifywait from the inotify-tools package. inotifywait -r -m -e close_write --format '%w%f' /tmp | while read MODFILE do echo need to rsync $MODFILE ... done


9

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 ...


7

It sounds like you're running your FTP client in a non-elevated context and you're trying to download files to the hard drive in a folder that is not located in your user profile. You have 4 choices: Download files to a folder within your user profile like c:\users\myusername\downloads Run the FTP client in an elevated context (right-click Run As ...


7

The configuration file is stored either in the Windows registry or, if you are using the portable version, in an INI file. (See the documentation.) The registry location is: HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2 You can always export the settings to an INI file by pressing Export in the preferences dialog. Note that your passwords are not ...


7

I'd say that the comment left by acidzombie24 is the best advice. Personally I haven't come across a better FTP program than WinSCP. I recommend you change your settings to transfer using Binary, and use an editor like NP++ rather than the in-house editor. Here are a few screenshots:


7

WinSCP does not have setting like that. In general, the best solution is to log in with account that has read access only.


6

Enable write permissions for the user logging in thru WinSCP. There are two ways to do this. The first way is to change the permissions on the folder to allow anyone to write to it. This isn't the best security. chmod 777 /var/www The second way is to add your user to the group owning the directory, and then setting permissions for the group to write ...


6

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 an user perspective, I do not know, if any FTP client supports explicit download of only given number of trailing bytes. But some FTP clients will definitely allow you to download new trailing ...


5

WinSCP used affected OpenSSL 1.0.1 since versions 4.3.8 and 5.0.7 beta in respective branches. WinSCP 5.5.3 upgraded to 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/SCP) ...


5

Cyberduck supports SCP.


5

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 ...


5

Wrap the name-with-space with double quote again. winscp.com /command "option echo off" "option batch on" "option confirm off" "open sftp" "put ""C:\abc\EXCEL\RestaurantAutomation\RestaurantReport_2012120172514\x y Report_P10_0010050075.xls"" ""/abc/MG0047/System Generated/x y Report_P10_0010050075.xls""" "exit" Update: Updated the command.


5

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 ...


4

Try going to the Control Panel -> Display -> Change the size of all items. That should make your text bigger.


4

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://code.google.com/p/lsyncd/ A simple command to continuously sync a local dir with remote machine over ssh will be: lsyncd -log all ...


4

Eventually ends up by using WinSCP which encrypt (or hash?) password and save in registry. So it's not easy to see plain text pwd.


4

There is a FAQ for this question on WinSCP site: http://winscp.net/eng/docs/faq_su You need to specify the sudo command in WinSCP session settings, as custom shell (if you are using SCP) or use sudo in custom SFTP server startup command (if you are using SFTP). Though there are some limitations, notably that you need to configure sudo not to require a ...


3

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 ...


3

Quoting Wikipedia: Trivial File Transfer Protocol (TFTP) is a file transfer protocol notable for its simplicity. It is generally used for automated transfer of configuration or boot files between machines in a local environment. Compared to FTP, TFTP is extremely limited, providing no authentication, and is rarely used interactively by a user. ...


3

I do not know of any automatic solution for new files. Though, if you find that you need to keep changing the ownership manually, you can make use of various WinSCP features to make your life easier. WinSCP allows changing ownership in the GUI (though if you use OpenSSH server, you have to use numeric GID/UID): http://winscp.net/eng/docs/ui_properties ...


3

You can change group of the upload directory chgrp nogroup UPLOAD_DIR and set group ID on it chmod g+s UPLOAD_DIR - files created in this directory will have group nogroup. You can set default rights using umask 002 (perhaps when starting WinSCP session?) and all files will have rw rights for group. The owner will still be root, but the Nginx process should ...


3

Let's break down the problems. WinSCP is a wrapper on PuTTy, so there is no point to debug it if you knows PuTTy is having problems. It say server's host key does not match "some times" , it seems that your have 2 server hosting same ip, go the following registry to check, try clear the one you have problem and do connect again. ...


3

Go to Preferences > Transfer > Default (or whichever preset you are using) > Edit > check Ignore permission errors (in the Upload options section).


3

Most likely you have a stateful firewall/nat between your system and the remote system that is timing out the state data for your connection after 15/20 minutes. Modify the keepalive setting in your client. A value of 120 seconds is what I usually use. Modifying the firewall/nat device causing the problem would also be possible, but may have other side ...


3

(a simple app specific question like this belongs on the app's support forum, or perhaps SuperUser but not ServerFault, but as I know and I'm taking a work break I'll answer anyway) You would have to use the Select Files command from the Mark menu (usually bound to the key numpad:+) and type your match pattern (i.e. *.php;*.js) into there. You can then ...


3

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' ...


3

You seem to be using SFTP mode rather than SCP mode Try mput *.pgp (a guess based on FTP commands) The manual says wildcards should work put <file> [ [ <file2> ... ] <directory>/[ <newname> ] ] If only one parameter is specified uploads the file to remote working directory. If more parameters are specified, all except the last ...


3

Run once-off as you are doing it, iostat reports the average statistics since the system was last booted, not real-time usage. If you use the interval argument (eg. iostat -m /dev/sdb1 5), then only the first report will be averages since the last boot; all the subsequent reports will show averages since the previous report. Personally, I prefer the dstat ...


3

You might find the File transfer speed FAQ on the WinSCP site useful, I'll provide the basics: The SSH code of WinSCP is based on PuTTY, so file transfers with the SSH-based protocols cannot be expeceted to be faster than PuTTY. So it might be worth trying a file transfer with PuTTY directly to see if it is comparable. As well as bandwidth, they suggest ...


3

Take a look at Transmit



Only top voted, non community-wiki answers of a minimum length are eligible