10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
Please help.
I have requirement to read the file / folder based on the latest date and download the file and folder.
There will be files and folders in the location like
20140630-144422
20140630-144422.csv
20140707-182653
20140707-182653.csv
20140710-183153... (7 Replies)
Discussion started by: Praveen Pandit
7 Replies
2. Shell Programming and Scripting
Hello,
Wanted to download the yesturday's or current date-1 file through shell script
Mode: FTP
OS: AIX
if today is 13th May then file would be available as below.
File Pattern:201401148682_daily_2014-05-12.txt.zip
Help.. (4 Replies)
Discussion started by: Riverstone
4 Replies
3. Shell Programming and Scripting
Hello this is my first post in this forum , I dont want to be unhappy..
I am writing one script but facing difficulty to find the latest file with some new pattern
My requirement is
1. The file is coming like "ABCD-23220140303" at FTP server once in a week.
2. script will run on daily... (3 Replies)
Discussion started by: ajju
3 Replies
4. Shell Programming and Scripting
Hi,
I have few files at FTP location and have written a script to download the same from ftp based on the sysdate - 1, however with the below code I am unable to download the files from FTP.
x=`TZ=CST+24 date +%Y%m%d`
mget Daily_BIH_$x_NEW.tar.gz
can anyone please help me in... (10 Replies)
Discussion started by: rramkrishnas
10 Replies
5. UNIX for Advanced & Expert Users
Dear Friends,
I need help to write a shell / perl script to download the files from FTP location, having different file names (date inside the file name).
Example:
Mar 5 09:24 cfx_03052013_return_file.txt
Mar 6 02:13 cfx_03062013_return_file.txt
Mar 7 06:40... (3 Replies)
Discussion started by: Praveen Pandit
3 Replies
6. HP-UX
Hello All,
I am trying to connect to ftp server and get the files. Also i need to rename the file in other ftp dir.
rename method is not allowing me to rename the file in other dir. When i tried copy command by using net::FTP:FILE then perl says it is not installed.
Can some body help me to... (2 Replies)
Discussion started by: krsnadasa
2 Replies
7. Shell Programming and Scripting
Dear all,
Hope you are doing well.
I am in trouble to write a shell for ftp downloading the latest file from remote server.
Situation:
There is a directory named 'weekly' which contains .csv files with the following pattern: RES_EN_100417-080003.csv.Z. The new file is generated... (3 Replies)
Discussion started by: kel1014
3 Replies
8. Shell Programming and Scripting
Hi,
I have a simple ftp shell script which can download the entire file, however I want to know if there is anyway that I can download only the partial content, say X bytes from a file. If so, how I can do it using ftp and http..
Here is my sample script
#!/bin/sh
HOST='xyz.com' ... (5 Replies)
Discussion started by: learn more
5 Replies
9. Shell Programming and Scripting
Hi all,
I'm having problems downloading files from ftp server. I have to download only those files that name starts with YYYYMMDD.But file comes like the format "20080624221035.TXT".Also how i can get list of all file names with in specified folder.
Here i paste my code
ftp -vn... (1 Reply)
Discussion started by: vaskarbasak
1 Replies
10. Solaris
Hi all,
I have 1 problem in my solaris 8 server. The problem is in every nite that will run a cron job to download file from external ftb server. This crob job starter running find, but after running for 4 minute, that ftp services is hang that, until we need kill this process.
My question... (3 Replies)
Discussion started by: foongkt5220
3 Replies