09-08-2006
Have you tried transferring in ascii mode vs binary?
There's also a cool free utility called utod.ext (unix to dos) that will correct the EOL character.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am creating public and private key for sftp in ksh.
then copy the name1.pub file into /.ssh/authorized_keys directory in remote server.
Now my question is how to write that script which do not ask me for the password from prompt.
please help.
thanks in advance. (1 Reply)
Discussion started by: rinku
1 Replies
2. UNIX for Dummies Questions & Answers
I have the following UNIX script which copies a file from a UNIX server in Canada to a UNIX server in the UK.
LOG=/data/proj/sftp/canada.log
DAT=`date "+%d/%m/%y %H:%M"`
HOMEDIR=/data/proj/sftp
TGTFILE=P_DATA.csv
cd $HOMEDIR
echo "\nStarting retrieval of Canadian Data at $DAT" >> $LOG
... (1 Reply)
Discussion started by: mishnok
1 Replies
3. UNIX for Dummies Questions & Answers
All
I am a VMS guy just learning UNIX.
My first task is to SFTP files from VMS to UNIX in BATCHMODE without having to enter a password. Note that using SFTP interactively works just fine.
I have followed some specific instructions provided by a vendor with no success. I have also read... (0 Replies)
Discussion started by: randyhouse
0 Replies
4. Linux
Hi,
I have a request to install sftp on the Sco Unix Server.
Request you please let me know the process for the installation of SFTP on Sco Unix Server.
Thanks & Regards
Arun (2 Replies)
Discussion started by: Arun.Kakarla
2 Replies
5. Shell Programming and Scripting
Hi all
Not sure where I should be posting this so apologies if it's in the wrong section.
I'm trying to set up a system where we can copy a file (get) from a Windows server to a Unix server using SFTP in an automated way.
I've installed CoreFTP Server on the Windows server and can connect... (2 Replies)
Discussion started by: huskie69
2 Replies
6. Shell Programming and Scripting
Hi,
I am writing a shell script that securely connects to an UNIX host and transfer file(abc.txt) from the local machine to the host.
sftp user@host
get abc.txt
bye
The code doesn't work..
It throws error at line 2: get :Unknown get command.
How can I rectify this problem? (2 Replies)
Discussion started by: Kishore_1
2 Replies
7. Shell Programming and Scripting
I need create a Shell script to do the SFTP process. How can i provide username and password in the script.I had the below code.But it ask for password.How can i add user name and password in this code
echo "OK, starting now..."
sftp -b /dev/fd/0 testwasds3l<<EOF
cd /opt/isproj/VOM/Scripts... (2 Replies)
Discussion started by: morbid_angel
2 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I have many scripts where i have used sftp for file transfer from unix box to unix box.. Now that we have to sftp files from unix to mainframe, i would like to know if that is possible.
I just tried in the same way i did from unix to unix, but i got the error as connection refused.
Are... (2 Replies)
Discussion started by: dnat
2 Replies
9. Shell Programming and Scripting
hi guys,
i need a script to sftp the file from windows to unix server ....(before that i have to check whether the file exists in the windows server or not
and again i have to reverse sftp the files from unix to windows server.....
regards,
Vasa Saikumar. (13 Replies)
Discussion started by: hemanthsaikumar
13 Replies
10. Shell Programming and Scripting
I have this code snippet:
sftp $USERNAME@$REMOTE_SERVER -omode=ascii >> $LOG_FILEPATH/$LOG_FILENAME 2>&1
ls /+showall
ls /+... (11 Replies)
Discussion started by: Jesshelle David
11 Replies
LEARN ABOUT DEBIAN
gesftpserver
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)