Sponsored Content
Full Discussion: Unattended ftp to Solaris
Operating Systems Linux Unattended ftp to Solaris Post 51406 by hassan2 on Wednesday 19th of May 2004 11:16:24 AM
Old 05-19-2004
you can try

ftp -n 192.20.20.5 <<!
user "user_name" "user_password"
cd /tmp
put gatherstats
bye
!

Note
"user_name" is the users ftp name and "user_password" users password

This method works but it is not secure, A secure
way of having secure ftp through script is to use
sftp. you need to install ssh and then export the
public key, this way you will be able to use sftp without the need to have passwords in script.
 

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

FTP script to FTP file to UNIX - Solaris

Hello, A couple of times per week, i receive emails notifications when files are available for processing. Currently i read these eamails with a java program and store the attachement on my C: drive and would now like to generate a PC script to send this file name up to UNIX-Solaris and... (3 Replies)
Discussion started by: bobk544
3 Replies

2. Solaris

unattended single user mode patching

hello, i was certain i saw something on this earlier. but does anyone have any links, tips, or scripts they can share on ho to install and schedule single user patches remotely? (2 Replies)
Discussion started by: darkog
2 Replies

3. Shell Programming and Scripting

Running scripts unattended

Hi guys just wondering how i could make one of my scripts run unattended without the use of cron? (3 Replies)
Discussion started by: musicmancanora
3 Replies

4. UNIX for Advanced & Expert Users

Unattended disk image deployment?

Hi I need a system that allows a PC to PXE boot and then fully unattended deploy a diskimage created from a Linux system with identical hardware and then reboot when finished. I have been looking around but have not found a tool that is capable of doing this without too many bells and whistles,... (2 Replies)
Discussion started by: smith0083
2 Replies

5. Red Hat

Cisco UC Unattended installation

Hi All, Goal: Unattended installation of Cisco UC apps (i.e. Cisco Unified Communications Manager). Cisco UC uses RHEL as its OS. Challenge: Bypass the "Proceed with Install" prompt (see attached image named CUCM.png). I did research about Kickstart but I couldn' find the answer. I have also... (3 Replies)
Discussion started by: linuxn00b1
3 Replies

6. AIX

Unattended installation of AIX 7.2

While doing an unattended installation of AIX 7.2 -- 002 I noticed this error when I was passing by the screen Filesets processed: 428 of 761 System Installation Time: 1 hr 12 mins Tasks Complete: 60% installp: APPLYING software for: Java5.sdk 5.0.0.620 Restoring... (3 Replies)
Discussion started by: filosophizer
3 Replies
ftp::geturl(n)							    ftp client							    ftp::geturl(n)

__________________________________________________________________________________________________________________________________________________

NAME
ftp::geturl - Uri handler for ftp urls SYNOPSIS
package require Tcl 8.2 package require ftp::geturl ?0.2.1? ::ftp::geturl url _________________________________________________________________ DESCRIPTION
This package provides a command which wraps around the client side of the ftp protocol provided by package ftp to allow the retrieval of urls using the ftp schema. API
::ftp::geturl url This command can be used by the generic command ::uri::geturl (See package uri) to retrieve the contents of ftp urls. Internally it uses the commands of the package ftp to fulfill the request. The contents of a ftp url are defined as follows: file The contents of the specified file itself. directory A listing of the contents of the directory in key value notation where the file name is the key and its attributes the asso- ciated value. link The attributes of the link, including the path it refers to. BUGS, IDEAS, FEEDBACK This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category ftp of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for either package and/or documentation. SEE ALSO
ftpd, mime, pop3, smtp KEYWORDS
ftp, internet, net, rfc 959 CATEGORY
Networking ftp 0.2.1 ftp::geturl(n)
All times are GMT -4. The time now is 06:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy