04-26-2004
sftp verbose output
We need to use sftp to replace the ftp on all our application scripts.
The command itself works, however,the output from the verbose is not giving us a success response with a transfer count. Our processes require that we interrogate the response to ensure the data transfer was successful.
I looked at an HP forum on setting the loglevel but I can not find any examples that this will give us what we need.
I am on digital unix going to unix, not sure what flavor.
(yes, i searched for this answer on this website, yes I looked on the ssh website, yes, I searched google forums and several other forums.)
thanks.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hey all!
i'm looking how to render verbose python scripts.
what i'm looking for would be an equivalent to a "bash -xf" in bash script headers..
Any help? (2 Replies)
Discussion started by: penguin-friend
2 Replies
2. Shell Programming and Scripting
Hey all,
I have a ksh script which used ftp to transfter certain files to a AIX server, however, now I have to switch to sFTP and I have the following problem. Originally,
output=`ftp -nv $AIX_HOST << EOF 2>&1
user $AIX_USER $AIX_PASSWORD
cd... (9 Replies)
Discussion started by: mpang_
9 Replies
3. Shell Programming and Scripting
This is about to drive me crazy. What I want to do is simple:
output ALL the verbose information from curl to a file
I have read the manual, tried several options and searched this forum but no salvation...
I'm using
curl -k -Q "command" --user user:passwd --ftp-pasv --ftp-ssl -v... (1 Reply)
Discussion started by: caramandi
1 Replies
4. Shell Programming and Scripting
hi there !
i have exactly the same problem like this guy here
https://www.unix.com/shell-programming-scripting/127668-getting-curl-output-verbose-file.html
i am not able to save the curl verbose output..
the sollution in this thread (redirecting stderr to a file) does not work for me.... (0 Replies)
Discussion started by: crabmeat
0 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
In the script mentioned below uses a sftp command to login to the remote host and pull the files from the remote server. we want to log this inf to a log file . But it is not happening, the verbose information is just displayed on the screen but not to the log file when I run this... (1 Reply)
Discussion started by: raghuveer2008
1 Replies
6. Shell Programming and Scripting
HI Guys,
My requiement is to redirect output and error of sftp to a file.I have gone through few solutions given in this forum and got the alternate solution but not the one i want.
Below piece of code is not working ..
$ sftp user@server<<EOF 2>&1 >temp.txt
> cd <dir>
> ls
> EOF... (0 Replies)
Discussion started by: mohanpadamata
0 Replies
7. UNIX for Advanced & Expert Users
Hi friends,
How to log the STFP put command output to a file, please give me a solution to solve this problem.
This is the program..
Main File : cp_ftp_file.
send_file()
{
sftp -b sftp_cmd_file_temp.txt ingrammicro@secure.streamliteinc.com
}
echo 'Manifest FTP started....'... (8 Replies)
Discussion started by: sundar.lsr
8 Replies
8. UNIX for Dummies Questions & Answers
I'm confusing with this question. :wall: Can any one tell me how to do and use which command? :confused:
create a compressed archive of the "Test" directory and it's contents, called Test.tar.gz, and place it in the current directory. Use a non-verbose tar command with a single string, including... (5 Replies)
Discussion started by: wk9031
5 Replies
9. Shell Programming and Scripting
Hi,
I am trying to turn verbose on for sftp but i get message to look lftp options.
SFTP_LOG=`lftp -u $P_USERID,$P_PSWD sftp://$P_HOSTNAME <<EOF
cd $P_DEST_DIR
mput $P_FILE_PREFIX
bye
EOF`
The above one works fine but i don't see the debugging details\log details.
I want... (7 Replies)
Discussion started by: consat
7 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I have sometimes a problem when i want to copy files from a nas, it's the nas which have a problem when it is very requested by a lot of users, the command cp turn and don't stop (the file size does not increase) and it's lock.
Is it possible to verbose this command ?
I try with the flag... (1 Reply)
Discussion started by: protocomm
1 Replies
LEARN ABOUT DEBIAN
gcstar
GCSTAR(1) Linux User's Manual GCSTAR(1)
NAME
GCstar - Personal collection manager
SYNOPSIS
gcstar [-u UPDATE-OPTIONS] [-x EXECUTE-OPTIONS] [FILENAME]
DESCRIPTION
GCstar is a Gtk2 program used to manage personal collections.
OPTIONS
Without any option, it will open FILENAME if specified or the previously opened file. There are also two groups of options.
UPDATE-OPTIONS
-u, --update
Tell GCstar to look for available updates
-a, --all
Update all components
-c, --collection
Update collection models
-w, --website
Update plugins to download information
-i, --import
Update plugins to import data
-e, --export
Update plugins to export data
-l, --lang
Update translations
-n, --noproxy
Don't ask for a proxy
EXECUTE-OPTIONS
-x, --execute
Enter non-interactive mode
-c, --collection MODEL
Specify the collection type
-w, --website PLUGIN
Specify the plugin to use to download information
-i, --import PLUGIN
Specify the plugin to use to import a collection
-e, --export PLUGIN
Specify the plugin to use to export the collection
-f, --fields FILENAME
File containing fields list to use for import/export
-o, --output FILENAME
Write output in FILENAME instead of standard output
--download TITLE
Search for the item with TITLE as name
--importprefs PREFERENCES
Preferences for the import plugin
--exportprefs PREFERENCES
Preferences for the export plugin
Preferences for import/export plugins are specified using this schema
Key1=>Value1,Key2=>Value2
ENVIRONMENT
HOME Used to define following variables if needed
XDG_CONFIG_HOME
Where configuration files should be stored. If not defined: $HOME/.config
XDG_DATA_HOME
Where some data will be stored. If not defined: $HOME/.local/share
BUGS REPORTING
To report bugs, please use this forum:
http://forums.gcstar.org/viewforum.php?id=4
AUTHORS
Tian <tian@c-sait.net>
http://www.gcstar.org/
GCstar 17 August 2006 GCSTAR(1)