sftp verbose output


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting sftp verbose output
# 1  
Old 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.
# 2  
Old 01-22-2008
I am facing a similar problem, can anyone please tell me how this can be done ?

Thanks in advance.
Regards
# 3  
Old 01-22-2008
Log level can be changed at file : "/etc/ssh/sshd_config"
#LogLevel INFO
or use "
Code:
sftp -vv

" for verbose output.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Verbose command cp

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

2. Shell Programming and Scripting

Problem in turn verbose on in sftp

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

3. UNIX for Dummies Questions & Answers

Unix (compressed archieve, non-verbose)

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

4. UNIX for Advanced & Expert Users

sftp output to file.

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

5. Shell Programming and Scripting

Redirect SFTP Output only

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

6. UNIX for Dummies Questions & Answers

Routing a verbose information to a log file

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

7. Shell Programming and Scripting

Save cURL verbose output to file or do it like browser "save as.."

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

8. Shell Programming and Scripting

Getting cURL to output verbose to a file

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

9. Shell Programming and Scripting

Redirect output from sFTP

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

10. Shell Programming and Scripting

python vs bash - verbose mode

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
Login or Register to Ask a Question