10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a script which i can download the files from ftp server using perl . But i want to download multiple files at a time
$ftp = Net::FTP->new("ftp.ncdc.noaa.gov");
$ftp->cwd("<dir>");... (9 Replies)
Discussion started by: ajayram_arya
2. Shell Programming and Scripting
I am using below piece of code to get the size of the remote file.
$ftp->cwd($destination) or $error=$ftp->message;
$ftp->put($file) or $error=$ftp->message;
print "FTP size = \n";
... (3 Replies)
Discussion started by: FarooqOnline
3. Shell Programming and Scripting
this script should search directories read,,search for file for daily reports. you must provide the beginning day, ending day and month.
this script will pull files for days and month specified and Ftp them to another server.
Thanks for any help you provide (2 Replies)
Discussion started by: lemseffert
4. Shell Programming and Scripting
I am having problem while using FTP in shell script.I am downloading a file from other machine.Part of file name is known to me(in red)
What i am doing is trying to get the file using get command with wild card "*" (see below) but it fails... (1 Reply)
Discussion started by: vinoo128
5. Shell Programming and Scripting
I've written a Perl script that copies a set of files from one server to another.
Prior to transferring a file the script gets the file size from the source system and compares this to the file size received in the target system.
Except that the file sizes are slightly different.
... (1 Reply)
Discussion started by: mbb
I am working on FTP Script (i,e Parser.sh,Upload.sh) and the contents of the same are mentioned below ..,
if ; then
./Parser.sh IP USERNAME PASSWORD SOURCE FILENAME DESTINATION
IP ------------- IP address of remote... (0 Replies)
Discussion started by: prasanth_babu
7. Shell Programming and Scripting
I found this very useful perl script that will check a remote ftp server, search for files of a specific time and get them. When I run the script it works, but it gave me the following error:
Couldn't get filename_12-13-07.txt Bad file number
What in this script would cause this? I know... (2 Replies)
Discussion started by: bbbngowc
8. Shell Programming and Scripting
We have a script where we're trying to ftp to an outside ftp server, but it keeps failing with the error:
421 Service not available, remote server has closed connection
if we ftp <server> and manually enter the username and password from the Unix box it's just fine.
But when we try to... (1 Reply)
Discussion started by: lawadm1
9. Shell Programming and Scripting
Firstly, I would like to admit that I am a scripting newb. :)
Now, to my question:
I am writing a script that FTPs a bunch of logs from one server to another, it will be scheduled in Cron to run every 20 minutes.
Currently, the file transfer part of the script is fine. However,... (2 Replies)
Discussion started by: reebz
10. UNIX for Advanced & Expert Users
I'm writing an ftp script that is trying to connect to a remote NT box. Here is my script:
ftp -i ipaddress
user username password
When I run this script I get the following error:
500 'AUTH GSSAPI': command not... (2 Replies)
Discussion started by: vancouver_joe