11-13-2008
Hi,
how about using wget (or Your ftp method), to read the file back again, with another name, and then diff them? For example if ASCII/CRLF conversion could mess thing up...
/Lakris
10 More Discussions You Might Find Interesting
1. Solaris
Hi All,
i wannna copy a file from the remote machine to my local machine using FTP protocol. i have made a connection to the remote machine , then i used the "get" cmd to copy the remote file as below :->
ftp> get
(remote-file) /home/aruba/opmtools/was50/Was5Install.doc
(local-file)... (1 Reply)
Discussion started by: sonbag_pspl
1 Replies
2. UNIX for Dummies Questions & Answers
Hi
how can it be that say i have text (xls) file that is 661 bytes when i upload it to Solaris ftp its becomes 650 byes
and when i downloading it back its again 661 bytes
both in my local pc and Solaris ftp the file remains not corrupted and valid (2 Replies)
Discussion started by: umen
2 Replies
3. UNIX for Dummies Questions & Answers
Is there any system call to find whether a file is local or remote??
Thanks in advance!!
-Jack Fds (3 Replies)
Discussion started by: jackfds
3 Replies
4. UNIX for Dummies Questions & Answers
Hi friends,
In my case, there are serveral PCs running Linux in a LAN.
I would like to to mount the directory /A_river of machine-A to the file system of another machine machine-B so that I can access files in that directory.
I do not know how to do this. The situation is complicated by... (2 Replies)
Discussion started by: cy163
2 Replies
5. UNIX for Dummies Questions & Answers
Is there a way to find if the file systems mounted on a AIX/Linux box is local or remote? (1 Reply)
Discussion started by: Un1xNewb1e
1 Replies
6. Shell Programming and Scripting
I m stuck with a issue.
I need to calculate the time difference between two files.. one on the local machine and one on the remote machine using a script.
Can any one suggest the way this can be achevied
Thanks,
manohar (1 Reply)
Discussion started by: meetmano143
1 Replies
7. HP-UX
Hello,
I know this is somewhat strange, but please let me know if possible. I want to execute a program file in the remote machine with command on the local machine. Let me make things more clear.
Suppose I have a cc on my local system and do not have that on the remote system. I want to use... (2 Replies)
Discussion started by: Veera_Raghav
2 Replies
8. UNIX for Dummies Questions & Answers
Hello,
I have a file at remote server. I have to select only current day's files that are dropped on ftp server. The files do not have date or timestamp on them.
so I plan to get the file listing from remote server to the local server. Based on file listing date I can find out when the files... (2 Replies)
Discussion started by: pavan_test
2 Replies
9. UNIX for Dummies Questions & Answers
Hi.
I have managed to transfer a file from remote to my raspberry pi, but I have the camera mounted on the Raspbien so I would like to transfer the image the other way.
I use this line:
sshpass -p 'PASSWORD' scp -- USER@ssh.servername.com:/www/cam/image.jpg /home/pi/shared/web/image.jpg (4 Replies)
Discussion started by: brickglow
4 Replies
10. Shell Programming and Scripting
Hi,
I came across the scenario, that I need to copy files from the remote server to my local. The files in the remote server are created by another job and its keep on generating the files in that remote folder.
We can't able to use SCP command and we're using SFTP to connect the server and... (3 Replies)
Discussion started by: Janarthan
3 Replies
LEARN ABOUT DEBIAN
ftpwatch
FTPWATCH(8) System Manager's Manual FTPWATCH(8)
NAME
ftpwatch - Notifies you of changes on remote ftp servers
SYNOPSIS
ftpwatch
DESCRIPTION
ftpwatch is a program intended to be run as a cron job. Every user who wants to use it should install it into his crontab file. That is add
something like:
47 5 * * 7 /usr/bin/ftpwatch
The user should then create a .ftpwatchrc file. If one is found the specifed files and directories in that file will be dired, and the
result is stored as separate files in a .ftpwatch directory i the home directory. diff(1) is invoked to find any changes since last run.
If any are found, the output of diff is mailed to the user.
OPTIONS
-d<opt> passes the options in <opt> to diff when invoked to generate the change-repport sent to the user.
-p run ftp in passive mode
CONFIGURATION FILES
Each user can place a .ftpwatchrc file in there home directories, listing the files or directories they are intrested in. The format is
simpel. Each line of the file is of the following type:
<Host>:<File>
Where <Host> is the hostname of the ftp server and <File> is the file or directory to watch. If you instead want to watch an entire direc-
tory structure recoursly you can add an R to the config line of the dir whoes subdirs you are intresed in, like this:
<Host>:R:<File>
AUTHOR
Hakan Ardo <hakan@debian.org>
7 Januari 1997 FTPWATCH(8)