Sponsored Content
Full Discussion: SFTP error
Top Forums Shell Programming and Scripting SFTP error Post 302938574 by RudiC on Tuesday 17th of March 2015 02:58:49 PM
Old 03-17-2015
You will need to expand USERNAME with $ .
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

a peculiar error with sftp

Whenever I sftped a particular gzipped file to a particular directory and then try to unzip it, I get Permission Denied error. With this file even I cannot do chmod. though the file permissions are -rw-r--r-- When same file I sftp to a different location I am able to gunzip it. Directory... (0 Replies)
Discussion started by: RishiPahuja
0 Replies

2. UNIX for Advanced & Expert Users

SFTP Error

Dear Gurus. Please help me with respect to SFTP error I am facing. We have setup private, public keys in source and target servers. But when we attempt the sftp as below it gives the error : sftp usnygidi@aaa1.bbb.deuba.co ssh_exchange_identification: Connection closed by remote host ... (1 Reply)
Discussion started by: yoursdivu
1 Replies

3. Shell Programming and Scripting

SFTP Error Handling

Hi , Can any one tell me is there any standard method to track errors during sftp ? using which command i can track sftp errors ? i tried using echo $? . Most of the times i am getting error number 127 ,1, 255. whether it is constant numbers ? Please help me out. Thanks in advance (2 Replies)
Discussion started by: deepusunil
2 Replies

4. UNIX for Dummies Questions & Answers

SFTP error when trying to connect

Hi, I am getting the following error when trying to use SFTP to go from my PROD to DEV. We are running AIX 5.3 64 bit. /home/tcutil/scripts 3720=>sftp -o Cipher=blowfish -o Compression=yes dradmin@xyz Connecting to xyz.... dradmin@xyz's password: buffer_get_ret: trying to get more bytes... (11 Replies)
Discussion started by: ramangill
11 Replies

5. Shell Programming and Scripting

SFTP Error

Hi all, Could you please help me about a error in SFTP: sftp> put <file name> Uploading <file name> to <target> Couldn't write to remote file <file name>: Failure ID mismatch (272 != 5) Availing the message, Are there some documentation about "ID mismatch" error messages? Thanks... (2 Replies)
Discussion started by: speed_racer
2 Replies

6. UNIX for Dummies Questions & Answers

SFTP Error

I am trying to SFTP a file using this script: FTPCHECK=`sftp $FTPUSER”@”$FTPHOST cd $FTPDESTDIR lcd $FILEPATH put $FILENAME close quit !` But when I run the Script I am facing the below error:... (3 Replies)
Discussion started by: krishna87
3 Replies

7. UNIX for Dummies Questions & Answers

SFTP Connection error

Hi I when I trying to SFTP a file to a server I am getting this below error: Connecting to 3.12.911.100... ssh_askpass: exec(/usr/lib/ssh/ssh-askpass): No such file or directory Host key verification failed. Connection closed Can you please help me in debugging this error. ... (3 Replies)
Discussion started by: krishna87
3 Replies

8. Shell Programming and Scripting

SFTP-how to log individual sftp command error while executing shell script

Hi, I have situation where i need to automate transferring 10000+ files using sftp. while read line do if ; then echo "-mput /home/student/Desktop/folder/$line/* /cygdrive/e/folder/$line/">>sftpCommand.txt fi done< files.txt sftp -b sftpCommand.txt stu@192.168.2.1 The above... (1 Reply)
Discussion started by: noobrobot
1 Replies

9. Solaris

Error while using sftp

Hi, In my Linux machine when am trying to do sftp to other server its not getting connected and its showing the below connection error. Even though I checked the daemon which is running fine. Any idea on this error will be helpful. sftp sftpuser@112.80.93.94 Connecting to 112.80.93.94...... (1 Reply)
Discussion started by: rogerben
1 Replies

10. Shell Programming and Scripting

Catching error in sftp

Hi All Experts, I have a script which logs to the server via sftp connection with below code :- user_name@sftp_server.com and the connection is going smooth. My requirement is to place file in sftp_server in some path. and if path doesn't exist or the file is not put successfully I... (3 Replies)
Discussion started by: punitsoneji
3 Replies
Text::Tabs(3pm) 					 Perl Programmers Reference Guide					   Text::Tabs(3pm)

NAME
Text::Tabs -- expand and unexpand tabs per the unix expand(1) and unexpand(1) SYNOPSIS
use Text::Tabs; $tabstop = 4; # default = 8 @lines_without_tabs = expand(@lines_with_tabs); @lines_with_tabs = unexpand(@lines_without_tabs); DESCRIPTION
Text::Tabs does about what the unix utilities expand(1) and unexpand(1) do. Given a line with tabs in it, expand will replace the tabs with the appropriate number of spaces. Given a line with or without tabs in it, unexpand will add tabs when it can save bytes by doing so (just like "unexpand -a"). Invisible compression with plain ASCII! EXAMPLE
#!perl # unexpand -a use Text::Tabs; while (<>) { print unexpand $_; } Instead of the "expand" comand, use: perl -MText::Tabs -n -e 'print expand $_' Instead of the "unexpand -a" command, use: perl -MText::Tabs -n -e 'print unexpand $_' LICENSE
Copyright (C) 1996-2002,2005,2006 David Muir Sharnoff. Copyright (C) 2005 Aristotle Pagaltzis This module may be modified, used, copied, and redistributed at your own risk. Publicly redistributed modified versions must use a different name. perl v5.12.1 2010-04-26 Text::Tabs(3pm)
All times are GMT -4. The time now is 09:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy