Tag Info

New answers tagged

1

Why is the ftp resource being downloaded after I drag the link to my Terminal? (instead of being pasted as text, like http-URLs) The resource is not being "downloaded", but queried for its path and type. When dropping a file or URL on Konsole, it will try to convert it to a URL or path. Try for instance dropping a file:///tmp/ URL from Firefox to ...


1

It's hard to ask a question about linux distros in general, because some might... but, this is my experience with it, using primarily Ubuntu 14.04 server every day at work, setting up and configuring servers. There's not one that comes preinstalled (unless you select it at the last point of the install process - install software), but the most popular and ...


1

The answers to this question at Server Fault suggest the only way to do this is to run two separate instances of vsftpd, each with one of the configurations you want.


0

The above bash script by Ben Collins is a good solution, but he is missing the -p flag for the port on the server side. Running that as is would just give you an empty file or a hung server that never does anything. It's easier to see what this is doing if you just look at the commands. DestinationShell# nc -l -p 2020 > file.txt SourceShell# cat ...


2

You can add to the sftp command the option -o NumberOfPasswordPrompts=1 to stop it asking twice for passwords. You might usefully also try -o ConnectTimeout=20 -o ConnectionAttempts=1


2

100GB+ of data seems best fit for private torrent. Here is some basic info on how to start off: Creating a Private Torrent


2

I'd tar and compress before I sent over SSH - the encryption will just slow things down if you try SCP or similar natively. tar cvzf - /path/to/files | ssh user@host.com -C -c blowfish "cat - > bigtarball.tgz" If you want smarted things like synchronising collections of files after the copy, go grab the free version of Bittorrent Sync at ...


1

You can still bind it to 0.0.0.0, however you have to open the port with your firewall interface (depends, probably ufw or iptables on ubuntu). 0.0.0.0 binds to all interfaces (localhost as well as for example your ethernet interface). I recommend to search in the ubuntu documentation about firewalls. If your computer is behind a commonly configured home ...


0

Use wget. while IFS=','; read region sdp ip1 ip2 ip3 user1 pass1 user2 pass2 user3 pass3 do in=/var/opt/fds/statistics/ out=/pmautomation/PM/RawFiles/Data/BHCA/$date/$region/$sdp/ file=\*"PSC-TrafficHandler_8.1_A_"\*"_System."$date\*".stat" mkdir -p $out cd $out wget --ftp-user=$user1 --ftp-password=$pass1 ftp://$ip1/$in/$file ...


0

Have you tried removing the tab from the end of the "here" document? Since the script is not detecting the end that may be your problem. while IFS=','; read region sdp ip1 ip2 ip3 user1 pass1 user2 pass2 user3 pass3 do in=/var/opt/fds/statistics/ out=/pmautomation/PM/RawFiles/Data/BHCA/$date/$region/$sdp/ ...


0

I have got some pointers from Jeff. Somehow the prompt off was not working and i was getting prompt to get the matching files. I have tried putting the 'y' below the mget command and it worked. Following is the updated code: while IFS=','; read region sdp ip1 ip2 ip3 user1 pass1 user2 pass2 user3 pass3 do in=/var/opt/fds/statistics/ ...


0

Another tiny way is to use netcat (built-in in busybox). Router: tcpdump -w - | nc 192.168.1.110 1337 Host: nc -l -p 1337 > dump.pcap



Top 50 recent answers are included