Sponsored Content
Top Forums Shell Programming and Scripting Not the usual ftp script question Post 70378 by Perderabo on Thursday 28th of April 2005 09:43:36 AM
Old 04-28-2005
Yes it can. This is covered in the faq section.
 

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

FTP - shell script question

Hi All, I had a question on something which i have trying to add to my current shell script which does FTP of files from my local machine to a remote server. I have 5 files which i zip and FTP them on daily basis to a remote server. My script is as below: ############################... (6 Replies)
Discussion started by: bsandeep_80
6 Replies

2. Shell Programming and Scripting

perl or bash script that will generate a higher than usual load

Hi, please advise what function in perl or system call in shell that will generate cpu usage that is higher than usual? I would like make such a script, to test a monitoring feature. TIA. Marc (1 Reply)
Discussion started by: marcpascual
1 Replies

3. Shell Programming and Scripting

Automated FTP script using .netrc to multiple FTP servers

Hi all, I'm using the following script to automated ftp files to 1 ftp servers host=192.168.0.1 /usr/bin/ftp -vi >> $bkplog 2>&1 <<ftp open $host bin cd ${directory} put $files quit ftp and the .netrc file contain machine 192.168.0.1 login abc... (4 Replies)
Discussion started by: varu0612
4 Replies

4. Programming

Java double subtraction oddity (not the usual rounding discrepancy)

I've been going through a java tutorial, and ran across some strangeness in this small example... class SqrRoot { public static void main(String args) { double num,sroot,rerr,resquare; for(num = 1.0; num < 100.0; num++) { sroot = Math.sqrt(num); ... (1 Reply)
Discussion started by: Trones
1 Replies

5. Shell Programming and Scripting

repeating ftp script question

so i got this request to do this: - Script should check for the file ever 15 minutes on the FTP server…if the file is not found, then the whole script exits. File will only be created one a week at random. i have gotten this far, but am kind of stuck, also sleep command doesnt work... (3 Replies)
Discussion started by: zapatur23
3 Replies

6. Solaris

Copy via samba on vmware workstation with Solaris taking much longer than usual

i have a vmware workstation with solaris 10 installed on this. i copying 2 gb data via samba from windows to this vmware workstation. copy speed is 24 kb/sec. how i can speed up this copy process ? (7 Replies)
Discussion started by: rehantayyab82
7 Replies
ELF_STRPTR(3)						   BSD Library Functions Manual 					     ELF_STRPTR(3)

NAME
elf_strptr -- retrieve a string pointer in a string table LIBRARY
ELF Access Library (libelf, -lelf) SYNOPSIS
#include <libelf.h> char * elf_strptr(Elf *elf, size_t scndx, size_t stroffset); DESCRIPTION
Function elf_strptr() allows an application to convert a string table offset to a string pointer, correctly translating the offset in the presence of multiple Elf_Data descriptors covering the contents of the section. Argument elf is a descriptor for an ELF object. Argument scndx is the section index for an ELF string table. Argument stroffset is the index of the desired string in the string table. RETURN VALUES
Function elf_strptr() returns a valid pointer on success or NULL in case an error was encountered. ERRORS
[ELF_E_ARGUMENT] Argument elf was NULL [ELF_E_ARGUMENT] Argument elf was not a descriptor for an ELF object. [ELF_E_ARGUMENT] Argument scndx was not the section index for a string table. [ELF_E_ARGUMENT] Argument stroffset exceeeded the size of the string table. [ELF_E_ARGUMENT] Argument stroffset index an unallocated region of the string table. [ELF_E_DATA] Offset stroffset indexed a region that was not covered by any Elf_Data descriptor. [ELF_E_DATA] An erroneous Elf_Data descriptor was part of the section specified by argument scndx. [ELF_E_HEADER] ELF descriptor elf contained an invalid section header. [ELF_E_RESOURCE] An out of memory condition was detected. [ELF_E_SECTION] Section scndx contained a malformed section header. [ELF_E_SECTION] The ELF descriptor in argument elf did not adhere to the conventions used for extended numbering. SEE ALSO
elf(3), elf32_getshdr(3), elf64_getshdr(3), elf_getdata(3), elf_rawdata(3), gelf(3), gelf_getshdr(3) BSD
December 16, 2006 BSD
All times are GMT -4. The time now is 07:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy