11-09-2011
Jim, thank you much. worked perfectly.
---------- Post updated 11-09-11 at 06:58 AM ---------- Previous update was 11-08-11 at 11:50 AM ----------
i tried to use mput or mget with sftp, but not working. how can i get multiple files such as mget/mput *, mget/mput test.*, mget/mput test*
9 More Discussions You Might Find Interesting
1. Solaris
Hi All,
How do you get around SFTP not having the 'cat' command to set up scripts to run cron jobs for passwords?
I am use to the FTP allowing that, but we are converting to SFTP and need to be able to still run the same scripts in off hrs. Is there a way to still cat the password at the prompt... (14 Replies)
Discussion started by: wsiefkas
14 Replies
2. Shell Programming and Scripting
Hi,
I looked into lot of posts on this question but i could not figure out the solution. we are using the following ftp shell program to send the file to target server.
#!/usr/bin/ksh
ftp -n -i<<EOF 2>&1
open <target server ip>
user <username> <pwd>
lcd /sc/doc/prd/FCSTP
put file1.txt... (3 Replies)
Discussion started by: srrao.ch
3 Replies
3. Shell Programming and Scripting
I am trying to send a file from my 9000 box to a vendor using sftp and I am getting this error: Couldn't close file: Failure
Here are the results of my automated script:
Connected to yyy.com.
sftp> pwd
Remote working directory: /
sftp> cd xxxxx/yyyyy_TEST/TEST
sftp> put FILE FILETEST... (1 Reply)
Discussion started by: nickg
1 Replies
4. Shell Programming and Scripting
Hello All,
I am stuck!
I have access to an external server via SFTP. In order to access the external server I was given a specific port, password, and a ppk.
I would to create a script on my server end that can I can setup as a corn job, that will connect to the external server and... (1 Reply)
Discussion started by: kingr008
1 Replies
5. Shell Programming and Scripting
Hi,
I'm new to sh scripting and have the following problem. I have a script to sftp that is now working with ssh key. But i need to change this, i wan't to sftp with a password. I have the following script, tried a lot to make a variabel for the password. But i can't make it work
... (2 Replies)
Discussion started by: kvhindex
2 Replies
6. Shell Programming and Scripting
Hi,
While running my ksh file, I require the logs to be written to another file. For this I use the below code:
write_log()
{
echo `date +"%d %h, %Y %H:%M:%S"` " : " $* >> ${LOG_FILE}
}
But inside my ksh file, am connecting to sftp server and executing some commands.
So while i see... (8 Replies)
Discussion started by: confused_info
8 Replies
7. UNIX for Dummies Questions & Answers
Hi everyone,
Something rather interesting just happened to me. I uploaded a file to a server through sftp. I closed the connection and then logged on to the server via ssh. So far so good.
When I typed ls -l in the remote server to retrieve a directory listing, the file that was previously... (2 Replies)
Discussion started by: gacanepa
2 Replies
8. Shell Programming and Scripting
Hello, this is a VI question more than anything...
I'm using: SunOS 5.10 Generic_150400-04 sun4v sparc SUNW,T5240
I'm trying to find a problematic line(s) in a script.
The only solution I can think of is to tag each repetative line, and increment it.
This is an oracle insert script.
... (14 Replies)
Discussion started by: graphi
14 Replies
9. UNIX for Beginners Questions & Answers
When I power ON my T4-1, I got a prompt -> where I have to start /SYS and start /SP/console. How can I auto supply these two commands ? (3 Replies)
Discussion started by: z_haseeb
3 Replies
LEARN ABOUT DEBIAN
ecaccess-file-mget
ECACCESS-FILE-MGET(1p) User Contributed Perl Documentation ECACCESS-FILE-MGET(1p)
NAME
ecaccess-file-mget - Download Multiple ECaccess Files at once
SYNOPSIS
ecaccess-file-mget -version|-help|-manual
ecaccess-file-mget [-debug] [-progress] [-force] [-bufsize length] source-ecaccess-file [...] target-local-directory
DESCRIPTION
Allow downloading Multiple ECaccess Files at once in the specified target-local-directory.
Each source-ecaccess-file is in the form [domain:][/user-id/]path. Please read the "Shell commands -> File Management" section of the
"ecaccess" guide for more information on the ECaccess File System.
Please note this command is not recursive and will only download the plain-files in the source-ecaccess-file directory (sub-directories are
ignored).
ARGUMENTS
source-ecaccess-file [...]
The name(s) of the source ECaccess File(s).
target-local-directory
The name of the target Local Directory.
OPTIONS
-progress
Provide a progress meter on the standard terminal, allowing to monitor the file transmission in real-time. The progress bar is
removed from the terminal when the transmission is done. This option is not supported and ignored on Windows platforms.
-force Overrides the interactive mode and download each file without prompting.
-bufsize length
Specify the length of the buffer (in bytes) which is used to download the files. The larger the buffer the smaller the number of
http/s requests. By default a buffer of 1048576 bytes(1MB) is used.
-version
Display version number and exits.
-help Print a brief help message and exits.
-manual Prints the manual page and exits.
-debug Display the SOAP messages exchanged.
EXAMPLES
ecaccess-file-mget 'home:/xyz/bin/*.bin' $HOME/bin
Download the *.bin Files in the $HOME/bin directory of the user xyz. The Files are downloaded in the local $HOME/bin directory.
SEE ALSO
ecaccess-file-delete, ecaccess-file-get, ecaccess-file-chmod, ecaccess-file-modtime, ecaccess-file-mput, ecaccess-file-rmdir, ecaccess-
file-copy, ecaccess-file-dir, ecaccess-file-mdelete, ecaccess-file-mkdir, ecaccess-file-move, ecaccess-file-put, ecaccess-file-size and
ecaccess.
perl v5.14.2 2012-04-16 ECACCESS-FILE-MGET(1p)