10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have tried a lot, Need your help guys.
SAS Program:
data one ; /* Data step */
Input name $; /*Dec variables*/
I want to remove the commented part(/* Data step */) alone. I have tried using sed command but it is deleting the entire line itself. i need unix command to separate this and... (6 Replies)
Discussion started by: saaisiva
6 Replies
2. UNIX for Dummies Questions & Answers
I have tried a lot, Need your help guys.
SAS Program:
data one ; /* Data step */
Input name $; /*Dec variables*/
I want to remove the commented part(/* Data step */) alone. I have tried using sed command but it is deleting the entire line itself. i need unix command to separate this and... (1 Reply)
Discussion started by: saaisiva
1 Replies
3. Shell Programming and Scripting
HI,
Need to ftp a bunch of files in a directory in batch mode. TRying to ftp a single file first with below code.
#!/bin/ksh
function ftp_files
{
ftp -n ${D2_SRVR} <<-EOF
quote user ${D2_UID}
quote pass ${D2_PWD}
cd ${D2_DIR}/${D2_NAME}
lcd ${D1_DIR}/${D1_NAME}/dml/
put file1
... (6 Replies)
Discussion started by: cvsanthosh
6 Replies
4. UNIX for Dummies Questions & Answers
How can I supply the userID/password when executing FTP in the batch mode? Using .netrc is not an option (prohibited per Corporate Policy).
Thank you in advance. (1 Reply)
Discussion started by: compaamat
1 Replies
5. UNIX for Dummies Questions & Answers
hi all,
iam using unix command in the basesas programming.
i need to delete one folder which is dynamically creating when SAS script runs.
rm -rf " dynamic foldername"
iam not able to delete the folder it is saying
rm: cannot remove directory `test_lin_prod_06_20091211_0516':... (2 Replies)
Discussion started by: bbc17484
2 Replies
6. Windows & DOS: Issues & Discussions
Hi there
I want to create a batch file which Get (mget) the newly added Files only from specific directory on UNIX server to specific folder on windows server using FTP, and this batch file will be scheduled on the windows server to run daily to load the new files (load the newly added files... (1 Reply)
Discussion started by: alsharq
1 Replies
7. Windows & DOS: Issues & Discussions
Hi there
I want to create a batch file which Get (mget) the newly added Files only, from specific directory on UNIX server to local folder on windows server through FTP, and this batch file will be scheduled to run daily to load the new files.
help me plz :confused: (1 Reply)
Discussion started by: alsharq
1 Replies
8. UNIX for Dummies Questions & Answers
I'm new to the forum, so I appreciate any help you can give me. I have been at an academic institution that manages its own UNIX computing grid for running SAS. I use a Mac as my personal computer and connect remotely using an ssh terminal to conduct my analysis and store/manage my files.
I'm... (3 Replies)
Discussion started by: crl21
3 Replies
9. UNIX for Dummies Questions & Answers
Hello, I am a UNIX newbie and this is my first posting.
I need to create a batch command file to ftp from Sun/Solaris to AS/400.
Here is an example file:
ftp -d -i -n -v 172.28.16.22
pwd
ls
binary
quit
This is the result of executing the command file:
Connected to... (10 Replies)
Discussion started by: pietro
10 Replies
10. UNIX for Dummies Questions & Answers
Hey all,
Does anyone know if Unix has an equivalent to a batch file? And if so, does it work the same way as a batch file under windows?
AND, if you can answer that one, is it possible to run such a file under HP-UX and have it execute while in an FTP command line? What I need to do is... (4 Replies)
Discussion started by: ober5861
4 Replies
IO::All::FTP(3pm) User Contributed Perl Documentation IO::All::FTP(3pm)
NAME
IO::All::FTP - Extends IO::All to FTP URLs
SYNOPSIS
use IO::All;
"hello world
" > io('ftp://localhost/test/x'); # save to FTP
io('ftp//example.org/pub/xyz') > io('xyz'); # GET to file
# two ways of getting a file with a password:
$content < io('ftp://me:secret@example.org/xyz');
$content < io('ftp://example.org/xyz')->user('me')->password('secret');
DESCRIPTION
This module extends IO::All for dealing with FTP URLs. Note that you don't need to use it explicitly, as it is autoloaded by IO::All
whenever it sees something that looks like an FTP URL.
METHODS
This is a subclass of IO::All::LWP. The only new method is "ftp", which can be used to create a blank IO::All::FTP object; or it can also
take an FTP URL as a parameter. Note that in most cases it is simpler just to call io('ftp//example.com'), which calls the "ftp" method
automatically.
OPERATOR OVERLOADING
The same operators from IO::All may be used. < GETs an FTP URL; > PUTs to an FTP URL.
SEE ALSO
IO::All::LWP, IO::All, LWP.
AUTHORS
Ivan Tubert-Brohman <itub@cpan.org> and Brian Ingerson <ingy@cpan.org>
COPYRIGHT
Copyright (c) 2007. Ivan Tubert-Brohman and Brian Ingerson. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See <http://www.perl.com/perl/misc/Artistic.html>
perl v5.10.0 2007-03-29 IO::All::FTP(3pm)