General :: Scripted LFTP With Watchdir

Jun 1, 2011

Really new to linux but I'm learning quite a bit and fairly fast. This is my first question on these forums and I hope I can get pointed in the right direction.Currently I run ubuntu 10 and currently I connect to my box via putty, and manually get files from 1 central ftp and then I take the files there and manually connect to 5 different ftps and send them out. I'm looking to figure out a solution where I can just dump the files into a particular directory on my box like a rtorrent watchdir and a script will pickup the new file and ftp it to all the places I need it to go.

I want the script to run in the background and just know a new file hit the directory and take care of it. To save time currently I'm using lftp and i have bookmarks saved with pw for all the ftps.

View 8 Replies


ADVERTISEMENT

Fedora Installation :: Looking For A Scripted Installer

Apr 23, 2011

we are working on a project which uses Fedora as the operating system. we are running our deliverables on up to 20+ machines of identical specifications, we have perused the whole package list (presented in the standard installer) and have a confirmed list of modules we wish to include, and we wish to know if there's anyone out there who is interested in writing a scripted installer which can be ran on the machines to perform unattended installation of F14/F15 on all the machines. a partial re-branding of the installer and boot screen would also be needed (to put it simple : adding the logo/some text of our project to existing Fedora brandings, while making sure the user will know the nice Fedora experience is embedded within in whole). please reply if you have interest in it and the know-how, and how much you wish to be reimbursed for your effort.

View 4 Replies View Related

Ubuntu Servers :: Defend Against A Scripted Attack On Apache2?

Jul 28, 2010

I have a LAMP server that has been up for a month or so before I get stuff like this:

Code:
60.12.233.54 - - [24/Jul/2010:22:46:07 -0400] "GET /w00tw00t.at.blackhats.romanian.anti-sec:) HTTP/1.1" 404 895 "-" "ZmEu"

[code]...

View 6 Replies View Related

Software :: Have Scripted Ssh Commands Appended To The Remote History?

Jan 17, 2011

If I interactively ssh to a remote host and enter commands, I can up-arrow through the command history.If a script ssh's to a remote host and calls a command, it does not get appended to the history.How can I configure ssh or sshd so that this happens? I'd like to be able to have those scripted commands available in the history file when I log back in interactively.

View 2 Replies View Related

Ubuntu :: How To Install LFTP Correctly?

Mar 8, 2010

Can anyone run me through the process to install lftp correctly with all the correct support for SSL and SSH connections?
I am using the newest version of Ubuntu.

View 4 Replies View Related

Software :: Correct Lftp Syntax

Oct 9, 2010

was trying to figure out how to use
Code:
lftp mirror -v ----remove-source-files sftp://user@ftp.site.com
I keep getting "unknown option --remove-source-files. Could anyone help?

View 1 Replies View Related

Ubuntu :: Possible To Install LFTP With OpenSSL Support

Sep 26, 2010

I asked on irc, and received a sad 'not unless the version in synaptics is with ssl'. Is it not possible to change this ? - or is the only way out to compile/build it yourself?

View 1 Replies View Related

Ubuntu Networking :: Lftp: Cannot Connect To FTPES Server

May 27, 2011

My host has enabled FTPES [URL]. I would like to use lftp to securely upload my files to the host. However, lfpt hangs at "`ls' at 0 [Connecting...]" when trying to connect. See report here: [URL]

I've already search this forum and the web for days, but there does not seem to be any explicit tutorial for lftp + FTPES.

I've tested filezilla and I can connect without any problems via FTPES. I'd rather use a command line tool like lftp, however.

From what I've gathered, the problem may be with the passive mode, and the fact that the response from the server does not reach my machine.

My machine is running Kubuntu and is behind a d-link router. I don't seem to be running any firewall (is that a problem for a personal computer?). I checked: the router's built-in firewall is disabled. I am not sure about the port forwarding issues, though.

I'd like to use your replies to write a small tutorial: I have found many posts by people experiencing similar problems, but none with an actual answer.

Another question: how can I make sure that any successful connection is indeed made via a secure channel. I can use lftp without problems when I don't use SSH/secure channels. Obviously, I don't want that. What tell-tale signs can I look to to ascertain that I am really securely connected?

View 2 Replies View Related

Software :: How To Set Lftp To Download Files In Specific Order?

Jan 18, 2010

I have the following option set in my ~/.lftp/rc
Code:
set mirror:order "*.rpm */"
Here, *.rpm files are given preference. The rest of the files are being downloaded by lftp in alphabetical order, not the custom order sent by my ftp server. Is there a way to make it download it in the order sent by my ftp server.I'm using proftpd and the files are sorted by size.

View 3 Replies View Related

Red Hat / Fedora :: LFTP From Linux To Mainframe (Data Contains Accent Characters)

Jun 9, 2010

I was wondering if someone can help me... I have a file that I am trying to LFTP from my Linux server to my Mainframe and the file is uploading but the data looks slightly corrupted..First off let me tell you the following text is French and it contains accent characters.Below is how the data looks when you view the data through vi or on the Mainframe:
factureNum

Note how the accent e is turned into a uppercase accent A and a copyright symbol.When I view the PC file in hex through Notepad ++ the turns into and the result is one character turning into two characters is a hex C3 and is a hex A9.

When I LFTP the file to the mainframe the characters are transferred and I end up with a hex 66 and a hex E4.The end result I am after is that I want to transfer my linux file, who's data looks like this on the linux server: factureNumro and like this when viewed on a PC: factureNumro to my mainframe and I want it to look the same as when I transfer it to the PC. Like this: factureNum.

View 2 Replies View Related

Server :: LFTP Can't Connect To Proftpd Server (hangs)

Nov 28, 2010

I'm using ProFTPd as my FTP server on a CentOS 5 box. Since updating to version 1.3.3c, I seem to have very specific problems. Connections work quite fine with about any FTP client out there, including the basic ftp command from the Linux prompt. However, when trying to connect to that server with LFTP, things go wrong. When connecting, all I get is [Connecting] then [Logging in...] and then nothing. I have to add that SSL is forced off in lftp.conf (I read it could be the problem). I sometimes get a counter for reconnection, but it never works.

The command I use in lftp is : open -u <user>,<pass> <server_ip>, the ls for lftp to establish the connection. I don't see anything at all in the server's log. I just see "FTP session opened" and "FTP session closed" in /var/log/messages" and nothing in /var/log/secure. I can give you a strace if needed. Please keep in mind that the server WORKS with anything but LFTP and NCFTP (which I also tried).

View 10 Replies View Related

General :: Ubuntu: Tool For Displaying Disk Activity In General And By Process?

Oct 12, 2010

My Ubuntu system is occasionally becoming very sluggish. I'm running many things simultaneously and it's very difficult to tell which program is the culprit.

I suspect that the sluggishness is due to disk activity since the CPU usage is consistently under 50% on each of the 4 cores of the CPU, and over 30% of the 6GB of RAM are free.

Is there a tool that can show me in real time the number of disk IO operations per second and the amount of data read/written per second? Can all this info be broken down and displayed per process?

View 2 Replies View Related

General :: Write A Script To Send General Mail To Users At 9AM Everyday In 4?

Mar 3, 2010

I want to write a shell script, so that at 9AM every morning a general will be sent automatically to my network users E-Mail ID. My users are as follows: akhtaruzzaman@a[URL], ariful.[URL] etc.

Below is my little effort:
# !/bin/bash
userlist=`cut -f 1 -d : /etc/passwd`
mail -s "mailbackup" << END

keep mailbackup in another drive daily for security purpose

View 3 Replies View Related

General :: Samba File Permissions For Multiple Groups In The Same General Path?

Nov 4, 2009

I'm using my Linux (SLES 10) server as a File Server at this point. I need to set File Permissions to nested folders differently to different groups. For example:

homesharedengineering* should be read only for groupA
homesharedengineeringadmin should be read & write for groupB Plus read only for groupA
homesharedengineeringautocad should be read & write for groupC Plus read only for groupA

I've been using Webmin and Putty to set permissions but Putty only allows me the Default Group, it won't allow me to set several groups on the same directory. Webmin seems to allow me to add multiple groups (Webmin --> Others --> File Manager --> Info & ACL tab will provide extended abilities) but when I add multiple groups, they don't seem to take effect? I'm wondering if my setup at the 'Share' level or at the hierarchy of my folder structure (unix based) needs to be set specifically?

View 1 Replies View Related

General :: Will Having A Dual-boot Windows On My Laptop Cause It To Slow Down In General Use

Jun 18, 2011

I have Windows 7 on my Dell Xps laptop, and I want to install Ubuntu or Fedora as a dual-boot. Will that cause my system to slow down?

View 2 Replies View Related

General :: Ubuntu / Suse Red Hat Are Developing General Update Tool

Jan 29, 2011

PackageKit is a system designed to make installing and updating software on your computer easier. The primary design goal is to unify all the software graphical tools used in different distributions, and use some of the latest technology like PolicyKit to make the process suck less.

View 1 Replies View Related

General :: Windows - Version For General Use + Interface Development?

Jun 6, 2011

II'm a front-end web developer, I've always developed on Windows with technologies like XHTML, CSS, Javascript and Flash, I've dabbled with PHP and MySQL. I am well used to Windows workflows and tools, from Photoshop to Notepad++, Filezilla and WAMP server stacks to After Effects, and a swathe more - but always on Windows.I'm at a point where I think I need to start seriously developing on a Linux box, specifically at the moment to create web apps based on Node.js, but compiling tools and programs has become a task I'm more frequently required to do.

My question? I need to get my hands on a user-friendly install of Linux, but which one? I need common interface developer tools (lists welcome) to replace... well as many tools I have on Windows as possible.I need to be readily connected to the internet, I need OS updates to not destroy my workflow by crashing the OS, as I've seen Ubuntu do to various friends. I want efficiency, I need to be able to customise what I need to in order to perform development tasks.I guess this could be a long list, but - I don't have practical working knowledge of the Linux OS, nor how it "compares" to Windows (excuse my faux pas). I'm obviously willing to learn, but I'm far, far more keen to just... continue interface development, just on Linux instead of Windows.

View 3 Replies View Related

General :: Access To Squirrel Main Without A KDE Or General Account?

Jun 27, 2010

A friend of mine helped me set up a server which includes Squirrel Mail.It?s CentOS 5.3.I have a person who would like to access Squirrel Mail at remote sites.My questions is, I can create an account on the server which has KDE and the usual general applications and he would have the remote access Squirrel Mail but he doesn?t need nor does he want to access KDE or anything else on my server. He just want an account so he can use Squirrel Mail.

View 1 Replies View Related

General :: Limitations Of GNU General Public Licenses?

Mar 23, 2010

I have the impression that not that many people understand the scope and limitations of GNU General Public License. This is somehow my basic understanding of it. If I take a program covered under the GNU license, first of all I have the right to get the source code. Second, I can modify it at will. Third, I can redistribute it as will too but the new code will necessarily will have the same GNU license. This made me wonder how people actually can charge for software derived from Linux, for instance, Red Hat. Well, my impression is that they really make profit only out of services. In this thread [URL] I think I found a lot of confusion, even from a moderator (not intended to offend). Red Hat is based on Linux and it is necessarily covered under GNU. Somebody probably bought the program from RHE and can make it available at no cost.

Nevertheless, the moderator decided to warn the user. In this article [URL] it says the following:"Our training is not designed to promote vendor lock-in. Though these courses are based on Red Hat Enterprise Linux, the source code for [RHEL] is available to the community via the GPL [GNU General Public License]," said Red Hat spokewoman Leigh Day. This thread [URL] shows yet more confused people. Is there is a glitch in this type of license that prevents programs like RHEL to be redistributed for free? Why their license page doesn't mention GNU license? Or the problem is just that people get overwhelmed by this license and are afraid to be penalized and get paralyzed? By the way, RHEL is just the example. The key question is about the license!!

View 14 Replies View Related

General :: Start A Daemon As General User?

Sep 9, 2010

I need to allow certain users (who do not have root access) to be able to stop and start specific daemons

View 2 Replies View Related

General :: General Impression Of Certain Distros?

Jul 16, 2010

What is the general opinion of the Mandriva and Debian distros? Mainly asking what kind of user you consider the distro to be for (beginners, advanced, total newb, whatever), and whether you think they offer as much to an extremely experienced user as they would to a newb.Those are my two favorite distros, and I really like Mandriva a lot. I'm trying to pick one to stick with throughout, but I'm not really sure if Mandriva is too automated and Windows-user oriented like Ubuntu (I haven't really delved into the deeper aspects of Linux so I have zero experience in this area now). This might sound a little elitist but I don't want to be using Mandriva and just be automatically dismissed as a newb on first impression just because I'm using Mandriva (although admittedly I am a bit of a newb at the moment, I don't plan on staying one).

View 4 Replies View Related

General :: Get A General Understanding Put Simply?

Apr 3, 2010

Im trying to get a general understanding put simply.

View 6 Replies View Related

General :: General Regarding Available Software?

Jan 9, 2011

Friends i am facing some issue with Linux i want to know how many kinds of file do we have in Linux and what are soft link and hard link mean and the difference. However i want to know also why do we use it in Linux

View 1 Replies View Related

General :: How To Run KDM Or GDM Over Ssh

Mar 27, 2010

I have a computer on LAN running ssh. I can normally tunnel the GUI application usingssh computer-name -X program-nameBut I wam my full desktop to be running on a remote computer using ssh so that I can just use that computer remotely like a local desktop. For this I think I will need to run KDM (or GDM ) remotely, what configuration do I need to do to make this happen?

View 2 Replies View Related

General :: IE Tab 2 Vs IE Tab Plus

Jun 15, 2010

I'm wonder what the differences are, especially as it pertains to SharePoint. Why should I pick one over the other or does it matter? Also are there any Linux browser solutions for SharePoint, besides Wine + IE 6.

View 2 Replies View Related

General :: Using Old PC As NAS?

Aug 5, 2010

I have extra P4 PC (Dell Dimension 2400). And I would like to use this PC as NAS. What is the best way to make NAS from a PC.

View 3 Replies View Related

General :: Tar-ing / Should Use -C / .or Just /

Jun 7, 2011

tar cvf backup.tar -C / / # or tar cvf backup.tar /

produces an archive like etc/ and gives warnings

On the other hand produces an archive like

And gives no warnings. I got the last one from a Debian tutorial.

Which is best for a system backup, do they work exactly the same?

Is there no difference between tar -tvh producing

And tar -tvh producing

From an archive

View 3 Replies View Related

General :: Cannot Get Into Dir?

Jul 23, 2010

At this dir /lib/modules/2.6.18-164.el5PAE/ have dir on the name build, if i use the command "DIR" i can see the it there but when i try to cd into this dir it's say " No such file or directory" i Need this dir cause i want to run vmware and it's the c header / kernel dir

View 6 Replies View Related

General :: Whose Bug Is It Anyway?

Jul 28, 2010

I'm not sure to whom I should report certain bugs, to the program developers, or to the WM developers. More confusion if plugins are involved.Flash, in opera, behaves quite bad on openbox, but in fluxbox it's substantially better (usable). I don't know about KDE or GNOME. So, whose bug is it, openbox', opera's or flash's?Conversely, chrome's and chromium's flash will behave badly on fluxbox (and somewhat similarly to flash's problems on opera under openbox!), but almost perfectly on openbox, it will just "go crazy" sometimes playing videos, but all you need to do is to kill flash (just flash) and reload the page, or even open and close the part where flash would be shown (like individual items on google reader), and it will work normally again. This case isn't much of a problem of bug "ownership" because fluxbox is, sadly, discontinued, as far as I know.

The develpment version of gimp, 2.7, again, behaves somewhat strangely with openbox, regarding window management, while gimp 2.6 was normal as 2.7 is in fluxbox. Gimp's or openbox' bug?

At some point specific distributions may have something to do with the bugs too, I was forgetting that point.Would be interesting if there were a sort of "unified" bug report place, where developers from all the involved software could decide whose "fault" it is and exchange the bits of information they may have on how to solve it universally. I think that otherwise, bugs being solved more independently, could produce collateral bugs somewhere else, I guess. Like using an hypothetical fluxbox' fix for opera's flash problems on openbox culminating in the problems that chrome has with flash on fluxbox. But hopefully developers have something more or less organized to deal with this sort of contingencies, I can't be the first person to think of that, but still, I'd like to know whom to report the bugs to in this sort of situation. "Everyone" involved? Well, at least the main suspects I guess, as I hardly can track the cause of a problem to some obscure library that is at some point used by some program or WM.

View 3 Replies View Related

General :: SSH Using The Same Key?

Sep 13, 2010

I SSH into a server from my windows partition using putty. The connection requires a private key that is in my widows partition. This all works fine.

Now, How can I do same from my linux partition? Can I copy the key to my linux partition somewhere so I can connect from my linux partition as well? Or do I need to setup separate public/private key for my linux partition?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved