9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a job that connects to FTP site, rename, get, delete a file and then process it. The renaming is done in consideration of this is one file name into which data is being accumulated many times within 24 hour cycle.
This is what happens now:
ftp -i $FTPHOST <<-EOF
ren... (3 Replies)
Discussion started by: migurus
3 Replies
2. Shell Programming and Scripting
Hi guys. Very new to this so apologies if this is ridiculously obvious, but I am not sure why this isn't working. I want to pull a file off an FTP server. I currently do it through windows, which is no problem, but I want to move everything to a Linux box I just installed. wget won't work as the... (4 Replies)
Discussion started by: majormajormajor
4 Replies
3. Shell Programming and Scripting
Hi,
At work we have backups on a ftp.
I want to view 4 last files saved (their names, dates, and weight).
how can i achieve this goal using simplest way ?
Thank's. (3 Replies)
Discussion started by: simon974
3 Replies
4. Shell Programming and Scripting
Trying to do the following, and it looks like Expect is probably my best bet. Any help greatly appreciated
1) Log onto ftp site
2) Go to folder
3) GET all files matching basename*.txt
4) MOVE those files to a subfolder on the ftp site. I don't need to move it on MY computer, I want to move... (2 Replies)
Discussion started by: mbourgon
2 Replies
5. Shell Programming and Scripting
Hi everyone,
I have to maintenance an old script unix (#!bin/sh) that get files from remote host by ftp.
There is a configuration file that contains a list of IP; the script reads this file, one line by line, and per each IP execute these commands:
echo "verbose on" > ftprap.cmd
echo "prompt... (3 Replies)
Discussion started by: molfrome
3 Replies
6. Shell Programming and Scripting
G'day,
I was wanting to write a shell script that checks an ftp server for the presence of new files, then get those files. In so much as the get, this is pretty straight forward, but I cannot work out how to get a list of files to check. Is it possible for a shell script to get the output of... (1 Reply)
Discussion started by: Elric of Grans
1 Replies
7. Linux
Hey everyone, my wife has purchased a bundle package of a bunch of images from a site, and now has to download each one of them manually. There are about 500 downloads, and it's quite a hassle to browse to each page and download them all individually.
I would like to write a shell script to... (2 Replies)
Discussion started by: paqman
2 Replies
8. Shell Programming and Scripting
I'm new to scripting. I'm trying to write a script to download files from ftp site, the following is the script and the message i get after running the script. no files were downloaded :(
Thanks advance!
script:
#!/usr/bin/ksh
DAY=`date --date="-1 days" +%y%m%d`
ftp -v -n "ftp.address" <<... (5 Replies)
Discussion started by: tiff-matt
5 Replies
9. Shell Programming and Scripting
How can I go about getting this done? I have tried and failed with a loop before I start the session and after seeing that I am already in the ftp code block and not bash when I am trying to perform this:
#FTP Information
ftp_server=xx.xxx.xxx.xx
ftp_user=xxxx
while read line; do... (1 Reply)
Discussion started by: BkontheShell718
1 Replies