I just want to transfer files with FTP (mget and mput). The problem is that I dont want to overwrite any existing files and don't want to transfer them again (e.g. using the rename-function). So I only want to transfer new files with mget and mput.
My first idea was to create two listings (remote and local) and compare them, maybe with diff.
Here is my actual code:
I need two more steps:
1. Create a usable list with all new files listed on the ftp server
2. Turn this list over to mget and transfer all listed
I hope anybody can help me. I'm very frustrated now.
@vbe: Thank you for your reply. I don't know rdist - I will check this. But the server I'm connecting to (over internet) is not ours, and there is only ftp permitted. So I think I could not use rdist. Correct me if I'm wrong.
I'll checked rdist, but this was not the right tool for me.
First I tried it with the enhanced ftp-client tnftp, formerly known as lukemftp (link). But I also had some troubles with the overwrite-protection.
I found another solution: wput (link). There you can set an option, so that no files will re-loaded again. But this works only with version 0.6.2 for me.
Hi All,
i am doing ftp
how can i transfer multiple different files
example-
03-21-13 06:33AM 46800 CATT_HOURS.pgp
03-21-13 06:33AM 266392 CATT_TAX.txt
03-21-13 06:33AM 91448 CATT_STATUS.txt
03-21-13 06:33AM 468 ... (3 Replies)
hi, i want to write a shell script code which transfers files from a directory in unix server to a directory in a windows machine.. can any1 give me a sample code which uses ftp or sftp command..
thanks very much, (3 Replies)
Hi all,
I would need a bash script to sync/transfer folders recursively via FTP/RSYNC
(I initially planned to use FTP but I heard RSYNC would fit a lot better for this job(?))
The situation:
3 different Linux servers
1. source
2. destination - Samba
3. Server where the script runs on
... (2 Replies)
Hello Unix Gurus,
Help required from you.
My requirement is something like this
I want to create a concurrenct program in Oracle Applications using shell script to transfer files from Apps Server to destination FTP server.
I have created custom program, where I will extract all the... (4 Replies)
Hey everybody, this is my first post so be gentle. I have two Sun 5220's running Solaris 10 that are directly connected with a cross-over cable at Gig. One of these boxes is my production Oracle server which generates a 50GB dump file every evening at 10:50. The other Solaris is a devolopment... (8 Replies)
Hello everyone,
we are running VSFtpd as FTP Server on Redhat AS 5. I would like to have a script to be run immediately after every FTP transfer. Is is possible (or with any other FTP Server?).
I thought of writing a script to monitor if FTP transfer happening and run the required-script... (2 Replies)
Dear Friend,
I don't know much about unix.I am an VB6.0 Programmer.I need to move an text files as aaa.txt from unix server to windows "D: " driver using the FTP protocol.Is it possible to do this with help of unix shell script.If possible please give some sample codes.
Please answer as early... (1 Reply)