11-30-2006
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Automated Unix to Windows Active Directory FTP
I have done many automated FTP scripts using the following logic:
===============================
echo "Starting the FTP transfer..."
{ echo "
open 192.168.1.100
user username password
ascii
put... (1 Reply)
Discussion started by: Cbish68
1 Replies
2. Shell Programming and Scripting
Hi All,
I have a Sqlplus report which will create a file.
I need a FTP Script that will be executed inside the Sqlplus Report to FTP the report output file to unix server.
Thanks,
Previn (0 Replies)
Discussion started by: vprevin
0 Replies
3. Shell Programming and Scripting
Good afternoon!
I need to move a bunch of files from an FTP site to my server.
However mget *, dele * will not suffice as I cannot guarantee that new files are not uploaded between commands.
Roughly, this is what I would like to do:
(using a .netrc)
ftp somehost
bin
prompt
cd... (1 Reply)
Discussion started by: abirdd
1 Replies
4. Shell Programming and Scripting
I'm trying to write a Perl script where a file from a UNIX server box connects to a Windows server box and copies that file into the Window box.
The main problem I have right now is that whenever I try to connect to the Windows box, the connection is refused.
The error message that always pops... (2 Replies)
Discussion started by: kooshi
2 Replies
5. Shell Programming and Scripting
Hi, I am new to this subject.....Can someone please help me out with the script...
unix usernm "sdhftst"
unix pwd "chsd13"
windows usernm "dfghtst"
windows pwd "chsd13"
path..../xxx/xxxxx/xxxxxx/xxxxxxx
please can u get me a script...its only one file to get ftp.
Thanks... (2 Replies)
Discussion started by: himakiran9
2 Replies
6. Shell Programming and Scripting
Hi,
Is it possible to ftp a huge zip file from windows to unix server using unix shell scripting?
If so what command i need to use.
thanks in advance. (1 Reply)
Discussion started by: Shri123
1 Replies
7. Shell Programming and Scripting
hi,
Im using the following code for FTP
#!/usr/bin/ksh
ftp -v -n "10.29.45.11" << cmd
user "mahesva" "mahesva123"
get rtl.tar
quit
cmd
Below is the log when i run the above code
**********************************
Connected to 10.29.45.11.
220 (vsFTPd 2.0.1)
530 Please login with USER... (20 Replies)
Discussion started by: dll_fpga
20 Replies
8. Shell Programming and Scripting
Dear All,
i am trying to get the file from windows location to unix location without using FTP and neither thru entering the user id and password. I have one unix form which is running on web application and user is entering the location and file name there now i know the file name and path. So i... (8 Replies)
Discussion started by: ripudaman.singh
8 Replies
9. Shell Programming and Scripting
Hello this is my first post in this forum , I dont want to be unhappy..
I am writing one script but facing difficulty to find the latest file with some new pattern
My requirement is
1. The file is coming like "ABCD-23220140303" at FTP server once in a week.
2. script will run on daily... (3 Replies)
Discussion started by: ajju
3 Replies
10. Shell Programming and Scripting
HI Guys,
I want to download files from FTP Server to my Unix server.
I have tried , buy No Luck .
Below Command i have tried.
1-Wget - Error "wget' not found"
2.ftp -n $HOST ...Not Working.
3.scp -i ftp://user:passowrd@hostname:21/ran/on/test.txt
Any Suggestion (2 Replies)
Discussion started by: pareshkp
2 Replies
LEARN ABOUT ULTRIX
uuname
uucp(1c) uucp(1c)
Name
uucp, uulog, uuname - unix to unix copy
Syntax
uucp [option...] source-file... destination-file
uulog [option...]
uuname [option...]
Description
The command copies files named by the source-file arguments to the destination-file argument. A file name either may be a path name on
your machine or may have the form
system-name!pathname
where `system-name' is taken from a list of system names which knows about. Shell metacharacters ?*[] appearing in the pathname part will
be expanded on the appropriate system.
Pathnames may be a full pathname, a pathname preceded by ~user, where user is a userid on the specified system and is replaced by that
user's login directory, or anything else prefixed by the current directory.
If the result is an erroneous pathname for the remote system, the copy will fail. If the destination-file is a directory, the last part of
the source-file name is used. If a simple ~user destination is inaccessible to data is copied to a spool directory and the user is noti-
fied by
The command preserves execute permissions across the transmission and gives 0666 read and write permissions. For further information, see
Options
The following options are interpreted by
-d Creates all necessary directories for the file copy.
-c Uses the source file when copying out rather than copying the file to the spool directory.
-m Sends you mail when the copy is complete.
-nrec
Sends mail to the recipient.
-W Expands only local files. Normally files names are prepended with the current working directory if a full path is not specified. The
-W tells to expand local files only.
The command prints a summary of and transactions that were recorded in the file
The options cause to print logging information:
-ssys
Displays information about work involving specified system.
-uuser
Displays information about work involving specified user.
The command lists the uucp names of known systems.
-l Lists local system name.
Warnings
The domain of remotely accessible files can (and for obvious security reasons, usually should) be severely restricted. You will very
likely not be able to fetch files by pathname. Ask a responsible person on the remote system to send them to you. For the same reasons,
you will probably not be able to send files to arbitrary pathnames.
Restrictions
All files received by will be owned by uucp.
The -m option will only work sending files or receiving a single file. (Receiving multiple files specified by special shell characters
?*[] will not activate the -m option.)
Files
/usr/spool/uucp - spool directory
/usr/lib/uucp/* - other data and program files
/etc/acucap - shared autodial modem database
See Also
mail(1), uux(1c), acucap(5)
"Uucp Implementation Description," ULTRIX Supplementary Documentation, Vol. III:System Manager
uucp(1c)