![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" | Lokesha | UNIX for Dummies Questions & Answers | 4 | 12-19-2007 10:52 PM |
| How to use "ssh secure shell" to setup | rainbow_bean | AIX | 1 | 12-10-2007 02:21 PM |
| Can we have two versions of "sftp" on the same machine? | val0822 | SUN Solaris | 2 | 12-10-2007 02:14 PM |
| Scripting multiple file "puts" in sFTP... | Cbish68 | Shell Programming and Scripting | 5 | 07-02-2007 08:14 AM |
| No utpmx entry: you must exec "login" from lowest level "shell" | peterpan | UNIX for Dummies Questions & Answers | 0 | 01-18-2006 01:15 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Help needed with secure shell "sftp"
I am using
sftp -V sftp: F-Secure SSH 3.1.0 (build 12) on sparc-sun-solaris2.8 I think it's happening due to secure shell. I can not rename files with "get". As "get" is working fine with open shell sftp. Here are the details about the problem: "get" does not rename the file. It actually thinks I want to get “eieio” and “a1” from pontoon – it’s behaving like “mget”. >sftp user1@pontoon sftp> cd test /home/vmmpprod/test sftp> get eieio a1 test/a1: No such file or directory. eieio | 0 kB | 0.0 kB/s | TOC: 00:00:01 | 100% sftp> close sftp> quit We usually ftp large files and put them through "pipes" so that we do not have to store the big files. I tried using "scp". But it overwrites the pipe with physical file. >mkfifo a1 >ls -lrt a1 prw-rw-r-- 1 appsw prod 0 Dec 10 10:56 a1 >more scp_test #!/bin/ksh scp user1@pontoon:$1 $2 exit_status=$? return $exit_status >scp_test test/eieio a1 eieio | 6B | 0.0 kB/s | TOC: 00:00:01 | 100% >ls -lrt a1 -rw-rw-r-- 1 appsw prod 6 Dec 10 10:56 a1 Am I missing something here? Any help will be appreciated. thanks |
|||
| Google The UNIX and Linux Forums |
| Forum Sponsor | ||
|
|