Transfer script.


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Transfer script.
# 1  
Old 10-24-2005
Transfer script.

Hi folks,
I have written down transfer script , which actually reads the file name from input and FTP the file to other server .
there are following things I am looking for
- our files name are with sequential number like in our server file is placed with combination filename+data+seq number e,g v_20051010_00001 , and it also suppose to FTP with same seq number ...
My script performing that ..as after ftp it also archive the file...
Now problem is that .. I was that i read with * like v_* and place the file with write data and seq number.. how I can achive this task .. as if next seq number is v-20051111_0002 , I wna pass paramter in Put like v* and it should post v-20051111_0002 this..
how I can ahive it
plz give ur inputs
Thanks
# 2  
Old 10-25-2005
I didn't quite understand your question. Are you using the -i switch?

Code:
ftp -i

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

File transfer script

Hi, I need a shell script to transfer a file from one server(unix box) to another server(windows box). I have the details of the source and destination Ip's. source path : /home/UNIX/server filename:abc.txt Destination folder: D:/UNIX/test I am using AIX server. Type of shell :... (1 Reply)
Discussion started by: NareshN
1 Replies

2. Homework & Coursework Questions

Script to check transfer was successful

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Write a script that performs a post processing action: The run time environment of the script has the... (2 Replies)
Discussion started by: kenrowe
2 Replies

3. Shell Programming and Scripting

Script to transfer files without xcom

Hi All, I want to make a script in which I want to transfer files from current server to another. The problem is that I don't have xcom installed on this so I was thinking of using scp command. The code I've written till now is - # Transferring latest inactive log file to another server... (16 Replies)
Discussion started by: csrohit
16 Replies

4. Shell Programming and Scripting

SSH transfer script

Hello, I have a set of documents in a folder in my laptop (project files, codes etc) . I have the same material on a remote host over an SSH connection, and most of the time I end up editing one version, and sometimes the two versions go out of sync. I have tried to use Gftp for transferring... (4 Replies)
Discussion started by: ajayram
4 Replies

5. Shell Programming and Scripting

Need script using cp to transfer files to another folder

Hi guys , how are you doing? I am tryng to make a script using cp that i would like to do this: echo "Enter the name files to tranfer" then user has to enter via keyboard this kind of output file1 file 2 file 3 file x (i mean the number of the files could vary and their name too)... (1 Reply)
Discussion started by: REX:)
1 Replies

6. Shell Programming and Scripting

A Script On Transfer Time

I wanna make a shell script that calculates the total time spent on copying a file. Script will simply copy a file using cp command or maybe wget.. Which commands i can use to get the time details of a file? thanks, (3 Replies)
Discussion started by: Mhnds
3 Replies

7. Shell Programming and Scripting

Script to transfer files

Hi, I am new to scripting, I need to write a script to transfer .TXT files from Server A (ftp) to Server B. Once the files in server B i need to transfer it to server C (sftp). (not transfer of files directly from server A to Server C ) Thanks! Regards Sendhil ---------- Post updated at... (3 Replies)
Discussion started by: Sendhil.Kumaran
3 Replies

8. Shell Programming and Scripting

Script for FTP (transfer only new files)

Hi everybody, 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... (3 Replies)
Discussion started by: inoxx
3 Replies

9. Shell Programming and Scripting

Please help with Webdav transfer script

I need help on a script that syncs a directory with a webdav directory. For example I have the folders: ./upload/ ./upload/client ./upload/client/department ./upload/client2 ./upload/client2/department each of these folders contain docs that need to goto the webdav. also the client names... (1 Reply)
Discussion started by: brazen1445
1 Replies

10. Shell Programming and Scripting

transfer a variable in a shell script?

Hey guys, seems I can't transfer the $ip into gawk in the following bash script, where the problem is? #!/bin/bash while read ip do gawk '$1~"$ip"' /tmp/source done < /tmp/ip ++ cat /tmp/ip 192.16.1.1|192.168.1.2|192.168.1.3 10.1.1.1|10.1.1.2 10.8.1.0|10.8.1.1|10.8.1.2 -- cat... (11 Replies)
Discussion started by: fedora
11 Replies
Login or Register to Ask a Question