Tag Info

Hot answers tagged

24

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


13

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

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


6

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


6

Cyberduck supports SCP.


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


5

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


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


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

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


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

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


4

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


4

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


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

Use Synchronize (Ctrl-S): The prompts afterwards walk you through what you need to do.


3

yes, Download the pscp.exe file from PuTTy.org. Click the file name and save it to your computer. If you want a PuTTY shell program, download and install putty.exe as well. At the Windows command prompt, enter: pscp source_file_name userid@server_name:/path/destination_file_name. For example: c:\>pscp june06extract ...


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

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


3

Instead of trying to access the logs as root user, it may be simpler to change the permissions on the server to grant access to the ec2-user. This can usually be done with the commands chown and chmod, but the exact steps depend on the way your server is set up. If you need help to do that, you can post the output of the following commands and I'll try to ...


3

http://www.chiark.greenend.org.uk/~sgtatham/putty/faq.html#faq-ssh2-keyfmt A.2.2 Does PuTTY support reading OpenSSH or ssh.com SSH-2 private key files? PuTTY doesn't support this natively (see the wishlist entry for reasons why not), but as of 0.53 PuTTYgen can convert both OpenSSH and ssh.com private key files into PuTTY's format. To ...


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

Redacted version of WinSCP FAQ Why are text file line breaks wrong after the file is transferred or edited? See particularly its Known Issues section. After transferring or editing a file, it may happen that line breaks are wrong, what may manifest as: Line breaks are lost. It seems like if a whole file content is on a single line. Line breaks are ...


3

Take a look at Transmit


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



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