Sponsored Content
Top Forums Shell Programming and Scripting Sftp : not able to print the echo statements after the sftp transfer Post 302786503 by Corona688 on Wednesday 27th of March 2013 03:09:06 PM
Old 03-27-2013
Quote:
Originally Posted by rbatte1
Well, SFTP is a very different client to FTP. I don't think that SFTP will accept in-stream commands (well, that's what MVS used to call them) You will need to use the batch mode of SFTP.
I've found most sftp clients are able to accept here-documents.
This User Gave Thanks to Corona688 For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

SFTP Transfer Across Multiple Servers

Hello everyone, Have a question which I'm not entirely sure about, but will ask anyway. We have three servers (A/B/C), 'A' being the local host, 'B' being a SFTP server on the DMZ, and 'C' being the intended remote host. The task is to transfer file/s from server 'A' to server 'C' via server... (0 Replies)
Discussion started by: Cameron
0 Replies

2. UNIX for Advanced & Expert Users

sftp command for file transfer

hi, I need to sftp a file from one unix system to another unix system. eg: filename is test.txt servername : abc@xyz please give me the sftp command for that. thanks in advance.. mohan.p (2 Replies)
Discussion started by: mohanpadamata
2 Replies

3. Shell Programming and Scripting

sftp file transfer

hi i am trying to login to remote server using SFTP Protocol and trying to upload a file butit is asking for the password. Note: I am trying to connect to FrontEnd server sftp SFTREGUP1@14.71.26.6 Connecting to 14.71.26.6... Password Authentication Password: Please help (14 Replies)
Discussion started by: Satyak
14 Replies

4. Shell Programming and Scripting

SFTP with ASCII file transfer

Hello - I have text file and need to load the data in Oracle through sqlloader. I need to move this file to unix server and load into oracle. When i SFTP(unfortunately i do not have FTP) to unix box, each line is appended with ControlM character... since it is transferring in BINARY... (4 Replies)
Discussion started by: govindts
4 Replies

5. UNIX for Dummies Questions & Answers

SFTP transfer does not complete

I am able to connect to a site and start a file transfer via SFTP, but when the file reaches "100%" -- the file does not complete and "stop". The 100% transfer status does not change (obviously), but the timer for SFTP keeps going and will not complete. This also happens when I try to get a file.... (2 Replies)
Discussion started by: loganban
2 Replies

6. Shell Programming and Scripting

Passwordless file transfer using sftp

Hello all, I have a requirement, in which we need to stage a package to Unix remote server in an automation (we cant use ssh key generation) , do u have any idea how we can transfer the package to remote server using sftp .if you have any script plz share it to me (4 Replies)
Discussion started by: Ramji Sundaram
4 Replies

7. Shell Programming and Scripting

File transfer using SFTP

Hi, I want to a transfer file from remote machine to a local machine using SFTP where both my local and remote machines are Ubuntu machines.So i wanted to write a unix bash script which uses SFTP command to transfer the file from remote to local machine. My remote server is 178.28.30.106. ... (14 Replies)
Discussion started by: shree11
14 Replies

8. UNIX for Dummies Questions & Answers

SFTP File transfer issue

Hi guys, Need a quick and urgent help on below issue. One of our application is try to transfer the file to another host thru sftp process My file is about 1 GB. Job is getting hung while transferring the file. So when I login as sftp and check the file system space is only in MB... (2 Replies)
Discussion started by: Vinoth Kumar G
2 Replies

9. UNIX for Dummies Questions & Answers

Sftp transfer doing as single row

Hi All, I have a file in windows when I transfer it using sftp it is getting as single line. I tried to do both ascii and binary File: is transfered as Can you please let me know how can do the transfer as same as XML file Thanks, Arun (1 Reply)
Discussion started by: arunkumar_mca
1 Replies

10. UNIX for Beginners Questions & Answers

Execute a script after SFTP transfer

Hi All, I am having an issue with the script execution. I am having a SFTP process that send files to a location . I want to execute a script once it transfer the file to that location. Right now I am leveraging autosys file watcher to do that. Is there any way like MFT PPA that can execute... (2 Replies)
Discussion started by: arunkumar_mca
2 Replies
gesftpserver(8) 					      System Manager's Manual						   gesftpserver(8)

NAME
gesftpserver - Green End SFTP Server SYNOPSIS
/usr/lib/gesftpserver [OPTIONS] DESCRIPTION
gesftpserver implements the SFTP protocol. It is normally run as an SSH subsystem but can be run in other contexts if necessary. CONFIGURING OPENSSH
By default, OpenSSH will use its native SFTP server in response to requests for the SFTP subsystem. To use gesftpserver instead, add a suitable Subsystem command to sshd_config (and remove the existing one if present). For example: Subsystem sftp /usr/lib/gesftpserver IMPLEMENTATION DETAILS
gesftpserver supports up to version 6 of the SFTP protocol and the following extensions: newline Reports the server's newline convention to the client. space-available Equivalent to df(1). supported v5 capability details supported2 v6 capability details text-seek Used for resuming text file downloads. vendor-id Reports server name and version to client. gesftpserver reports a vendor of "Green End" and a server name of "Green End SFTP Server". versions Lists available versions. version-select Select version. posix-rename@openssh.org Provides POSIX rename semantics even in pre-v5 SFTP. SEE ALSO
sshd_config(5) gesftpserver(8)
All times are GMT -4. The time now is 09:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy