Ubuntu :: Detect A Completed Sftp Upload?

Mar 22, 2010

I'm writing a file handler script that monitors (via a cron job) a directory that is an openssh sftp target for new files. When it detects a new file, it moves it, does an scp to another system, and sends an email. The problem I have is that I can't figure out a way to verify that the sftp upload is complete before I start manipulating the file.

View 1 Replies


ADVERTISEMENT

Ubuntu :: Sftp Force Permissions On Upload?

Mar 17, 2011

I'm running Ubuntu 10.04 LTS Using sftp, is there any way to force particular file permissions upon upload? I want the permissions on all files uploaded via sftp to be 664.

I've searched around and cannot find an answer. Many people ask similar questions and many responses recommend using umask, but as far as I understand it, umask is just a bit mask--it cannot be used to set permissions.

View 2 Replies View Related

OpenSUSE Network :: Sftp Not Working For Upload?

Jan 24, 2010

I`ve the following internet configuration at home -

WORLD
to
ADSL modem in BRIDGE mode with DHCP

[code]....

All internet browsing function are ok, but when I try to upload file using sftp to a remote compute - it hangs. This is not a problem of remote computer. Download is working ok. I disabled firewall on wireless router but this did not help.

View 1 Replies View Related

Programming :: Unable To Use SFTP File Upload Bash Script

Oct 7, 2010

upload a file to a business partner of ours in another country. Currently they have an SFTP server set up for us that I am using to download a daily generated file from a previous requirement. I use a bash script to download it since its fairly simple.

Quote:

sftp username@address/filename_filedate.zip /home/user/filedirectory > /var/log/joblog

(removed private info) To satisfy the new requirement I have been trying to write something similar to this;

Quote:

sftp /home/user/filedirectory/filename_filedate.zip username@address:/remotedirectory/

sftps manual page only gives a hint about using a batchfile, however i still cannot get it to work. Does anyone know another way? Or if you can even suggest another method or application? It seems like a bit of a cop out you can EASILY download using the sftp command but can't upload.

EDIT - forgot to mention I have already got keyless entry set up using ssh keys.

View 1 Replies View Related

Fedora :: Files Corrupts - Upload A File (using Ftp Or Sftp) Some Weir Characters Are Included Inside The File

Mar 23, 2010

I just installed Fedora12 in a Core i3 machine... everything looks fine, but I have a huge problem... every time I upload a file (using ftp or sftp) some wier characters are included inside the file... for example.

[Code]......

View 6 Replies View Related

Ubuntu Servers :: Sftp On Vsftpd - Make / Force All Users To Use Sftp And Not Just Ftp

Apr 13, 2011

i have a vsftpd server running well but i want to make/force all users to use sftp and not just ftp is this possible?

View 1 Replies View Related

Ubuntu Servers :: 10.04 No Upload Folder In /tmp With Php Upload Script?

Jun 13, 2010

have setup a LAMP server with ubuntu 10.04 server edition x86 for my study in VMware Workstation 7.1 For a assignment I had to make a php script that would load a file up to the server and set the name in a mysql database. According to the book the server should set the image in a cryptic folder in the /tmp/ folder.

This isn't working and i also try'd locate and find to find the image i uploaded. I checked the php.ini and file uploads were on but no folder so i set that one to /tmp/ but still no images. Can anyone help me with enabling this function?

View 3 Replies View Related

General :: Connect To An SFTP Server From A Windows Machine To A SFTP Server Using A DSA Key?

Jul 24, 2011

As a Windows user, I generated a pair of DSA keys from CoreFTP Lite and sent it to a third party that runs an SFTP server. They told me that a valid DSA key needs to have ssh-dsa at the start and the username@systemname at the end. CoreFTP generated neither the ssh-dsa header nor the username@systemname footer. I tried with WinSCP and it didn't generate them either. Is there a difference between how SFTP works between Windows and Linux? If I put a useraccount@systemname at the end of the text will it work? How would the Linux system validate that my system is called "systemname"? If it can't validate, what is the purpose of adding it?

View 2 Replies View Related

Ubuntu :: Barrybackup - Where To Do The Backups Go When Completed

Jan 8, 2011

when you do a barrybackup where do the backups go when completed?

View 5 Replies View Related

Ubuntu :: Previous Installation Hasn't Been Completed?

Jul 30, 2010

using Ubuntu 10.04 for a week ,I started to download some package from ubuntu software but i could not download them ,then after searching in the internet i tried a few of them but none of them worked .Finally I gave this command sudo dpkg --configure -aand I got a reply asdpkg: status database area is locked by another processthen I gave this command cat /etc/apt/sources.listand got a reply as# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricteddeb-src http://archive.ubuntu.com/ubuntu lucid main restricted #Added by software-properties# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to

View 1 Replies View Related

Ubuntu :: OpenOffice: Previous Installation Hasn't Been Completed?

Jun 17, 2010

I was preferring Abiword so I uninstalled OpenOffice but have discovered that Abiword can't deal with larger documents so am trying to reinstall OpenOffice and got the error messagePrevious installation hasn't been completed.The installation could have failed because of an error in the corresponding software package or it was cancelled in an unfriendly way. You have to repair this before you can install or remove any further software.

View 2 Replies View Related

Ubuntu :: Installation Not Completed - Black Screen On Boot

Aug 30, 2010

I have an Acer Aspire One that runs Windows XP. I downloaded both the full Ubuntu (latest version but can't remember the number) and the Ubuntu for netbooks- each on a separate flash drive. I thought I had the netbook version in my Acer when I booted it up, but I saw it was booting the full Ubuntu version. Instead of allowing it to finish installing to run from the flash drive, I stupidly shut it down and removed the flash drive. Ever since then, when I try to boot my Acer, all I get is the black screen of death. I've tried the flashit.exe to flash the BIOS, but no luck. So, I'm guessing it's not a BIOS issue.

View 1 Replies View Related

Debian Multimedia :: XOrg Auto-detect Failing To Detect Max Screen Resolution

May 29, 2011

I've installed Squeeze 2.6.32-5-amd64 on my laptop (Alienware M17X R3, Intel i7 Sandybridge, ATI Technologies Inc Broadway [ATI Mobility Radeon HD 6800 Series])The screen is 17", with maximum resolution of 1920 x 1080. After a default install of the operating system, the maximum resolution I can select is 1280 x 1024.My research so far has suggested that I need to edit the /etc/X11/xorg.conf file and provide xorg with the necessary resolution.

Again, by default, the xorg.conf file is not created. This leads me to believe that xorg is scanning my hardware at startup and providing me with whatever it thinks is appropriate. I tried following these instructions to generate an xorg.conf file. This process created an xorg.conf file under /root/.

When I copy this xorg.conf file to /etc/X11, I get a blank (i.e. black) screen. Deleting this file restores the default resolution 1280 x 1024.This system is dual booting with Windows 7. Under windows I am able to get a 1920 x 1080 resolution, so I know my hardware is up to it.At this stage I have yet to install the drivers for the Radeon graphics card.What are my options regarding configuring xorg to give me a higher screen resolution?

View 6 Replies View Related

OpenSUSE :: 11.2 Skype Action Could Not Be Completed

Jun 26, 2010

just reinstalled my 11.2 64, im truing to install skype and im getting this message: The action could not be completed

View 9 Replies View Related

General :: Verifying That Cron Job Completed

Mar 30, 2010

Is there a command that can be run to verify that a users cron job has run successfully?
Platform is Ubuntu 8.04 LTS.

I have scripts in /home/useraccount/bin/
running
crontab -l

While logged in as user results in:
# m h dom mon dow command
@hourly /home/useraccount/bin/script_1
@hourly /home/locateruser/bin/script_2
I realize scripts could send email or write to a log with a timestamp, but wondering if there is just a way to verify it ran from the command line.

I ran
ps -ef|grep cron
... and it shows
root 4358 1 0 Mar12 ? 00:00:00 /usr/sbin/cron
Not sure if this indicates it is running the jobs though....

View 4 Replies View Related

General :: Course On That And Completed The RHCE Certification?

Aug 5, 2010

My question is not related to technical one,

1.I completed my Post Graduation in 2008,after that as of my personal interest on Red Hat, i took course on that and completed the RHCE certification.

2.Now im looking 4 opportunities on Linux Admin,i would like to know the roles played by an Linux Admin in real time scenario,im looking for an System Admin.

3.What i mean to ask is, what type of daily tasks does Linux Admin will do? Let me know the answers if any one know dis.

View 2 Replies View Related

Fedora Hardware :: Endless USB Loop - Detect - Disable - Detect

May 2, 2010

I have a new F12 install, and my syslog is filling up with messages about USB. I have 2 USB devices plugged in directly to the mobo (bluetooth keyboard receiver, touchscreen), and it keeps redetecting them and then disabling the port for some reason.

A small sample of what keeps on repeating:

Quote:

View 1 Replies View Related

Debian :: Where To Find The Fw-detect Command ? (for Firmware / Wireless Detect)

Jan 12, 2010

Code...
To find the appropriate firmware without knowing the make or brand of your wireless chip, you can use the command:

#fw-detect

But apparently debian package do not offer this useful tool, well, certainly for sidux exclusively.

Is there a package of fw-detect eventually?

View 5 Replies View Related

Ubuntu Security :: Lock Network Connection On Completed Download?

Oct 2, 2010

Let's imagine this can be done in Firstarter, as there already is a fine lockdown option there: A kind of RULE: on [program/service] exit/completion of download - then lockdown connection [usually the eth0].

[Edit:] Or for that matter, put a lockdown action on any premise like inactivity on port 80 or such (all the rest),

View 4 Replies View Related

Debian Programming :: Does OpenJDK Installing Completed

Sep 17, 2014

I'm running Debian Jessie 64bit, the X-window is xfce4, I found the 'OpenJDK Java 7 Policy Tool' entry is already under the Settings menu, it seems appeared after I customized jessie a little, that installing nvidia driver, virtualbox ose, adobe reader and adobe flash player. From console, I can check there is java, but no javac.For doing java programming, I don't know if the OpenJDK was complete installed or not, should I continue to use it or remove it to install Oracle JDK?

View 1 Replies View Related

General :: Measure The Bandwidth Used By A Given Process After It Has Completed?

Feb 9, 2010

Is there a way to get a summary of how much bandwidth a given process used on Linux after the process completes? I do not want a monitor, I want something I can look at after the task has completed..

Ideally something like the "time" command or a profiler, but for network usage.

View 3 Replies View Related

General :: Data Transfers After The Transfer Is Completed?

Jul 30, 2010

For example I am copying data to USB-flash drive using some file manager. When the file manager shows that transfer is complete, flash drive indicator continues to light. As far as I know this is some kind of caching system...

1. Is it OK to close file manager when transfer window is closed but the flash drive indicator continues to light (data is still being copied)?

2. Is it better if I turn off this caching technology?

View 1 Replies View Related

Hardware :: CUPS - Job Completed, But No Print Out On The Printer?

May 14, 2010

When I try to print something there is only some led blinks on printer and nothing is print. I am using drivers from brother(cupswrapper). I am using CUPS 1.3.11. I didn't have any problems on my previous installation of slackware(but I don't know which driver I've used).

View 11 Replies View Related

Software :: VLC Media Player - RPM Installation Not Completed

Apr 16, 2009

Ii want to install VLC media player in mandriva linux 2009. I have tried the rpm packages from rpm.pbone.net but the rpm installation is not completed. I have downloaded the vlc from www.videolan.org but unable to install it. I have mandriva 2009.0

View 10 Replies View Related

Ubuntu Multimedia :: Streamripper Makes 2 Copies Of Each Song: 1 Incomplete And One Completed

Mar 1, 2011

the title says it all. im using CLI streamripper with this command:

Code: streamripper http://<stream IP address> -d ~/Music -z -o larger -T it keeps a copy of every song it rips in /incomplete then copies it to another folder once it's finished ripping (but keeps the copy in /incomplete). how do i get it to stop this and delete the copy in /incomplete once its finished moving it to the new folder?

View 4 Replies View Related

Fedora :: Brother HL 2040 - Job Shown Completed But No Print

Sep 12, 2009

I am having difficulty with my brother hl-2040 printer. Linux recognizes the printer and it's set as the default. The job shows up in the printer queue as completed, but nothing comes out of the printer.

View 5 Replies View Related

OpenSUSE Hardware :: 11.4 - OfficeJet 6500A Job Completed But No Prints

Mar 15, 2011

I installed the 64-bit version of OpenSUSE 11.4 last week and tried to print from it today. I couldn't get anything to come out. I've tried both USB and network printing, and nothing ever works. Any attempt to print anything results in the HPLIP Status Service app telling me the job is "completed" immediately, with nothing printed, but the CUPS web interface reports "/usr/lib/cups/filter/hpcups failed".

It's connected to the network router and hp-setup discovers it when I use manual discovery and give it the IP address, but it still won't print even a test page, whether as root or as a user. I've also used the CUPS web interface to add my user to the list of users allowed to print, and added my user to the lp group. But I still get the same error and nothing ever prints.

View 7 Replies View Related

SUSE / Novell :: IF Command - Script Execution Completed Or Not

Jun 21, 2010

I have a script:
Quote:
# Call mail script to send an email
if [ -f /tmp/report.txt ]; then
/usr/local/scripts/mail.pl
sleep 10
rm /tmp/report.txt
else
exit
fi

What I need to do is, I want to check if file exists, if file exists call other script (mail.pl) and then delete the file (assuming mail.pl script executed). If file not exists just exit out of the script. I'm not sure how I can see that other script execution completed or not before I delete the file even though I put sleep command. And also it seems like its not that good, even though it is working. I wanted to see if we can write in more efficient way.

View 4 Replies View Related

Debian :: How Many Tasks (both Completed And Pending) Could Crontab Hold/handle

Aug 17, 2010

As I have developed a part of my project based on crontab and now one of my team member has raised a question based on performance and load/stress, I would like to know the following limits of crontab.I assume each line in crontab file is a task; and also crontab would hold completed and pending tasks.1. How many tasks (both completed and pending) could crontab hold/handle?2. Will crontab run as expected if there are 100s of completed and less than 100 pending task?

View 1 Replies View Related

Debian :: Microsoft Office 2007 On Wine - Setup Not Completed

Jun 2, 2011

I'm running Debian Squeeze (6.0.1) 64-bit and I'm trying to run Microsoft Office 2007 (due to formatting issues with OpenOffice) through Wine (version 1.0.1 from the repositories). I followed the instructions over here but when I try to run the setup I get an error box with the following message:

Setup did not complete successfully. We are sorry for the inconvenience. An error occurred during the installation, and setup was unable to complete. Please tell Microsoft about this problem. And there are two button: "Send Error Report" and "Don't Send". And the installation is aborted. Is there anyway to make this run?

View 11 Replies View Related







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