10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi AM using unix Aix Ksh
I need to clarify regarding sending the zero size file to another server.
VAL=ftp.sh -c put souce_file Dest_file $1 $2 $3 $4 $5
$VAL 2 > $ERR
When am Sending the Zero Size File getting alerts netout write returned Zero.
But i would like to know $VAL... (4 Replies)
Discussion started by: Venkatesh1
4 Replies
2. Shell Programming and Scripting
Hi,
I have a unix shell script which generates a flat file after connecting to Teradata servers to fetch tables and views and also picks up modified unix scripts from the specified paths.
Later on the script calls a perl script to assign a value based on the type of object in the flat file which... (2 Replies)
Discussion started by: yohasini
2 Replies
3. Shell Programming and Scripting
Hi,
I am using below piece of code to get the size of the remote file.
$ftp->cwd($destination) or $error=$ftp->message;
if(!$error)
{
$ftp->put($file) or $error=$ftp->message;
print "FTP size = \n";
... (3 Replies)
Discussion started by: FarooqOnline
3 Replies
4. 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
5. Shell Programming and Scripting
Hi guys, i am new to perl. I started reading the perl documents and try to come up with some logic.
I am trying to create a script that would go into a location, search for todays files, then searches for all .txt files from today.
If todays not found, its an error
If file size is less... (26 Replies)
Discussion started by: DallasT
26 Replies
6. Ubuntu
Hi,
I have a created a logical partition sda5 in ubuntu server 9.0.4.
which is
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00053d78
Device Boot Start End ... (1 Reply)
Discussion started by: rac_oradba
1 Replies
7. Shell Programming and Scripting
Hi all,
I was a UNIX shell script that will check for the file size of each file and it should be re directed to a text file say filesize.txt
And if there are more than 10 0KB files then FTP should not happend and whenever there are less than 10 0KB files it should FTP the files.
Kindly help me... (1 Reply)
Discussion started by: Codesearcher
1 Replies
8. Shell Programming and Scripting
The FTP perl module does not have any function which checks if the file downloaded is of size 0. Is there any way in perl to check while getting the files through FTP?
Sometimes, there might be a problem with FTP and the downloaded file maybe of size 0. Hence, I would like to FTP that file... (1 Reply)
Discussion started by: rahulrathod
1 Replies
9. UNIX for Dummies Questions & Answers
I have an ftp process which runs every 10 minutes between Unix and an NT box.
Normally it works, but when the script tries to get a file from NT that has a length of 0, the ftp process hangs (as if it is still waiting for the end of the file).
This is the script... (3 Replies)
Discussion started by: mheinrich
3 Replies
10. UNIX for Advanced & Expert Users
how to compare file size which has been received through ftp get from a remote location with local copy available any clue
regards (5 Replies)
Discussion started by: sathiya
5 Replies