General :: SCP SSH Automatic File Transfer?

May 8, 2010

I wrote this script in attempt to set-up automatic file fetch from the server using SSH; I want to collect *.pdf files and would like this to happened automatically. However, when I run below script I keep getting prompted for a password, how to include password in the script and how to export list of transferred files into the log file in txt format

scp root@192.168.1.1:/var/www/html/Apps/*.pdf /media/DataBackup/Linux/imported/ &>/home/denis/Logs/remotefilefetch.sh.out

This script works to a point, however I am prompted for a password and log file is created but remains empty.

View 3 Replies


ADVERTISEMENT

General :: RSYNC Error .tar.gz 14gb File / Transfer Huge 14 Gb File Over Network,vpn,wan Transfer?

Mar 10, 2010

i am trying to transfer a file from my live linux machine to remote linux machine it is a mail server and single .tar.gz file include all data. but during transfer it stop working. how can i work and trouble shooot the matter. is there any better way then this to transfer huge 14 gb file over network,vpn,wan transfer. the speed is 1mbps,rest of the file it copy it.

rsync -avz --stats bkup_1.tar.gz root@10.1.1.22:/var/opt/bkup

[root@sa1 logs_os_backup]# less remote.log
Wed Mar 10 09:12:01 AST 2010
building file list ... done
bkup_1.tar.gz
deflate on token returned 0 (87164 bytes left)
rsync error: error in rsync protocol data stream (code 12) at token.c(274)
building file list ... done
code....

View 1 Replies View Related

General :: Sony PSP File Transfer Inaccurate Transfer Progress?

Jan 1, 2010

Having a bit of a issue with Debian Squeeze and transferring files to the Sony PSP..Hook up PSP to USB port and Debian mounts it..I go to drag a 125 meg mp4 to video folder..Copy windows takes about 10 seconds to transfer it..Exit USB mode and there is no video there. Go back into USB mode and look at video folder on the PSP memory stick and there is no video..It vanished. From another after copy progress closed I right clicked PSP and unmounted it..

It error-ed saying device was busy and could not unmount..Looking at light on PSP i see memory stick is still being written to..i wait for light to stop flashing..About a minute or so..Then am able to unmount it..Go to PSP video and theres the video ready to be watched. Debian isnt accurately showing the copy progress...Its showing complete when it isnt..I have to watch the light on PSP to know when it is truly finished.

View 3 Replies View Related

General :: Automatic File Movers?

Oct 17, 2010

I have been using linux now for a very short time, and the more I use the more I like, however some things are just too far beyond me to figure out, like scripts, etc... So I do prefer to use GUI apps wherever possible, and I'm using SUSE 11.3I'm looking for a way to automatically manage a folder I use for auto downloads. I'd like to be able to at least:

Move files to another directory based on either the files age i.e. 2 weeks, or the remaining disk space on the disk to initiate a move function. (Preferably the 1st and then the 2nd if necessary)And then a function to lookup similar folder names and put the file into that folder if it exists. (More complex I know, I'm not holding my breath)I've been looking for something like this for some time now and haven't been able to find anything via google

View 3 Replies View Related

General :: File Transfer Through SSH?

May 25, 2010

I have a linux server and I have SSH Access to it.

How do I transfer my files to my desktop.

View 1 Replies View Related

General :: File Transfer By Using SCP?

Feb 14, 2011

how can we transfer the file from putty session to windows host which resides remotely....

View 1 Replies View Related

General :: Ms-dos 6.22 To File Transfer

Oct 4, 2009

We are having few computers in ms-dos 6.22 , we want to download file from Dos machine to redhat linux machine.

View 4 Replies View Related

General :: Transfer A Zip File That Contains .txt Files Using Ftp Put?

Sep 13, 2011

I am transferring a file from a linux pc going to a windows ftp server using "ftp put". My file is a zip file that includes .txt files inside it. Here is what's happening when I transferred this file :I used ftp put for transferring and found that my transferred zip file was corrupted and couldn't be opened on the ftp server.I found the solution for this on the internet. I needed to use 'binary' to make it right.

I transferred again using binary and then ftp put the zip file onto the other end. Yes, it worked. My zip file wasn't corrupted anymore and I could already opened it on the ftp server. But the problem remains on the .txt files inside it. Converting the file into binary made my .txt files to be distorted and unreadable. I read from the internet that .txt files need to use Ascii instead of Binary to be readable, but if I use ascii it would cause my zip file to be corrupted again. I need to successfully transfer a zip file that contains .txt files using ftp put.

View 5 Replies View Related

General :: Transfer A File Using Tftp Between Two PC's?

Apr 20, 2011

I am trying to transfer a file using tftp between two PC's. I have installed tftp-server, tftp, xinetd on both PC's. I am unable to transfer the file between the two systems. although the self transfer is working on both the system. I am getting the error "Transfer timed out"

cat /etc/xinetd.d/tftp
# default: off
# description: The tftp server serves files using the trivial file transfer

[code]....

View 3 Replies View Related

General :: File Transfer From One FTP Server To Another

Feb 23, 2010

I have login of two ftp servers and I want to transfer the data from one ftp server to another ftp server. How can I do that, without downloading to local and then upload to other ftp?

View 7 Replies View Related

General :: Transfer File To Windows?

Jan 18, 2011

I have to transfer a file from Linux box to a system either a windows or Linux(most probably windows). how to do that remember as a user i have limited access on the Linux box. So no SAMBA and no NFS. I can ping successfully that machine from my Linux box.

Is there any way to know what type of operating system machine have if i have only IP address and the machine is anywhere else in the world.

View 5 Replies View Related

General :: Transfer For The Execute File To Window?

Mar 26, 2011

I got a souce code in linux system. That's why my executeable file can be execute in linux.

Since that I can makefile in linux. But I'd like to make an executeable file in Window system the same.

But I didn't got any source code in Window system. Can I use any software to transfer my

execute file like "aaa" to "aaa.exe" in Window system and can be executed.

View 5 Replies View Related

General :: File Transfer Over A Serial Line?

May 3, 2011

I have 2 linux computers, and a serial line between them, one of them is only accessible through a serial line that has shell on it. How can I transfer files between the 2 computers?

I've heard that it can be done with some rz/sz magic...

Can I do the same trick with a pseudo-terminal instead of other computer?

View 1 Replies View Related

General :: Multiple File (Directory) FTP Transfer Via SSH

Jun 12, 2009

I'm trying to transfer a directory, and all it's sub-directories and their contents, to another FTP server via SSH. I'm using CentOS Server 4.4. I can 'put' a single file, but can't figure out how to do everything at once, which I need to do.

View 5 Replies View Related

General :: How To Transfer File Using FTP Protocol For Distribution

Apr 13, 2010

I want to transfer file using ftp protocol. I m using following linux distribution.

PHP Code:
LSB Version::core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: OracleVMserver
Description: Oracle VM server release 2.2.0
Release: 2.2.0
Codename: n/a

When I run PHP Code:
[root@OFSMUW-VS-51 ~]# service ftp status
output is
ftp: unrecognized service

How would I install FTP? Do I need to install ftp server or client? Where would I get suitable ftp server/client for my distribution. Some rpm related to ftp are already in my machine please find the details

PHP Code:
# rpm -qa | grep ftp
ftp-0.17-35.el5
lftp-3.5.1-2.fc6
tftp-0.42-3.1.0.1

View 9 Replies View Related

General :: Measure File Transfer Speed?

Jun 15, 2010

I have one Linux server equipped with WiFi . I want to measure data rate speed on this connection . Is there any utility on my Linux that can measure data speed on one specific Ethernet connection when transferring large size files through WiFi connection?

View 2 Replies View Related

General :: Remote Access File Transfer

Feb 12, 2011

If I enable compression when I use ssh to run remote X11 applications on a local display.

View 1 Replies View Related

General :: Test PC To PC File Transfer Speed

Jul 7, 2011

I want a program that can be installed in two pc and measure speed of transfering files from one to another or any data measured in Mega bit

View 1 Replies View Related

General :: Transfer File From Local Mac To Remote Machine

Aug 12, 2010

How do you transfer a file from a local Mac to a remote Linux machine

View 5 Replies View Related

General :: Windows 7 - File Transfer With A Double SSH Login?

Jan 5, 2011

Possible Duplicate: Basic ssh tunneling through generic linux ssh server/client. I'm have trouble transfering files again from my work PC, which is a linux machine to my home windows PC.My work has changed it so I now need to SSH twice before I can access my PC.So I need to:

ssh username@server.name
password: xxxxx
I then need to do it again.
ssh computer_name
password: xxxxx

I've tried accessing directly via my computers IP but to of no avail. Is there a way I can use pscp or file zilla to ssh twice so I can transfer files?

View 2 Replies View Related

General :: Windows - Wi-Fi File Transfer Similar To Bluetooth?

Sep 12, 2011

It's a pity that Wi-Fi is used only for network and internet connection. There's no information on a thing that can seem so simple - file transfer via Wi-Fi.I can imagine it similarly to how Bluetooth does it (or Wi-Fi spot search which is already implemented), but no, it requires complicated LAN setup.What I want is an easy cross-platform solution to transfer files via Wi-Fi.

View 1 Replies View Related

General :: File Transfer Program In C Using FTP Client And FTP Server?

Jun 8, 2010

i am new in tcp/ip.i want to write a program using c for file transfer where FTP client and FTP server will be used.and also this program should work for ipv4 as well as ipv6.and muiltple client can be connect simultaneously.i dont know how to start program.should i use shell script or socket programming for file transfer?can we use FTP client and FTP server in socket programming?

View 2 Replies View Related

General :: Transfer File From System Machine To Windows?

Apr 9, 2010

I want to make a script which will copy the certain data from Linux machine to Windows machine.

Can u please give me some help in how would i go about it?

View 8 Replies View Related

General :: Uploading A *.php File To Real Server It Don't Transfer?

Nov 13, 2010

Whenever I am uploading a *.php file to real server It don't transfer.

View 1 Replies View Related

General :: Ante Diluvian IMac: Network / File Transfer - Can't Connect To Anything

Jul 21, 2011

it has Adobe Illustrator, I would like to get a file or three across to it. How? The only Mac bit that seems to know what a network card is is something called 'airport'. DHCP is all around it. "Network" means 56k modem, which can't connect to anything. If I show it a usb disk, it wants drivers, which apple hardly have up still for os 9.0.4.

View 7 Replies View Related

General :: Split Large File And Transfer To Windows External Drive?

May 17, 2011

How does one split a large linux file and transfer to windows external drive ?

View 2 Replies View Related

Software :: Automatic Updating Of File On Different Machine / When User Saves File

Mar 1, 2010

I just came back from a meeting with someone wo wants this functionality:When he saves a file on *his* machine, it will automatically get copied onto a server (this is on an office LAN). This is so if there's a virus attack on his machine, he will have an uninfected backup copy.
To make matters worse, the client machines will be WINDOZE. Apparently he's seen this kind of functionality at an office somewhere (he was saying something about "Microsoft" , but my brain has erased that part of the conversation ), and now wants it for himself.

I was thinking about Samba obviously, but the tricky part is doing the copying when the user *saves* a file. This will require hooks into the OS to see when a file is being saved.*If* I manage to persuade him to switch his client machines to Linux (which would be the ideal choice and make life far easier), how would it be done? I'd have to use the File Alteration MOnitor in the kernel, right?Would it be possible to write the copying code in a shell script?

View 6 Replies View Related

General :: Netcat File Transfer - "Connection Refused"

Apr 21, 2010

I have two custom scripts I just wrote to facilitate transferring files between my VPS and my home server. They are both written in bash (short & sweet): To send:

[Code]....

The problem is that, for a very quick second, I see something flash along the lines of "Connection Refused" (before pv overwrites it), and no file is ever transferred. The port is forwarded through my router, and nmap confirms it:

[Code]....

View 1 Replies View Related

Ubuntu :: Automatic File/Folder Nightly Backup?

Feb 2, 2010

I have been looking around online and I am seeing that there are several solutions for doing a nightly automated backup on Linux. I was wondering what people here actually use for doing such and why they use one particular backup method over another.

What I am looking to do is every night (at say 3am) I want my system to backup my 200gig Documents folder to my external hard drive. Does Ubuntu have a tool built in by default to do this or do I need to add something from the repos/online?

View 1 Replies View Related

Ubuntu :: Automatic File System Repair On Boot?

Oct 4, 2010

I'm using Ubuntu Lucid and any sudden power loss will usually cause problems with the file system. When I bring the computer back up, Ubuntu will then scan for errors at boot-time and if any errors are found it prompts me to select whether to repair or ignore them. I would much rather have it select the repair option automatically so that I don't have to be physically present.The reason for this is that i have a web server that should come back online automatically after a power loss.

View 2 Replies View Related







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