11-01-2008
The problem is - obviously - a DOS/Unix conversion taking place in the one case but not in the other. There might be several places to look for a remedy (i suppose you have already checked the transfer mode itself), here is one:
Some ftp clients have a "auto" option where they try to guess if to transfer in binary or ASCII mode. Maybe the heuristics on one box lead to different results than on the other. Maybe they are based on /etc/magic and this file is different.
It might help to enforce binary - or, depending on the desired result, ASCII - mode explicitly to get consistent results.
I hope this helps.
bakunin
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
2. Shell Programming and Scripting
Hello,
i have to write a script to perform sftp from the remote server to another server.
the files which are at the remote location are huge data log files which should be transfered to my server in a particular folder.
could you please provide me the general code (simple )... (1 Reply)
Discussion started by: urfrnddpk
1 Replies
3. Shell Programming and Scripting
HI
I need to write a script in 415univ server which should go to 534unix server and move the files from there to windows server.
I am not able to get it bcoz sftp prompt is not allowing ftp command.
Can some one plz help me
Thanks in advance (3 Replies)
Discussion started by: himakiran9
3 Replies
4. UNIX for Dummies Questions & Answers
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
5. Shell Programming and Scripting
HI,
I have to transfer files from linux server to windows using secure ftp (sftp) .Kindly help me out. (3 Replies)
Discussion started by: manushi88
3 Replies
6. IP Networking
hi, i want to write a shell script code which transfers files from a directory in unix server to a directory in a windows machine.. can any1 give me a sample code which uses ftp or sftp command..
thanks very much, (3 Replies)
Discussion started by: Little
3 Replies
7. Shell Programming and Scripting
I had the below sftp script working perfectly but the problem is I am not able to send the echo statements .
#!/bin/sh
echo "Starting to sftp..."
sftp admin@myip << END_SCRIPT
cd /remotepath/
lcd /localpath/
mget myfiles*.csv
bye
END_SCRIPT
echo "Sftp successfully."
echo
echo... (11 Replies)
Discussion started by: scriptscript
11 Replies
8. Shell Programming and Scripting
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
9. Shell Programming and Scripting
Hello,
Im downloading the file from windows server through FTP, the downloaded file is containing some junk character at very start of the file as below and causing my whole script is to fail,
how to download without junk or how to remove these before processing it?
▒▒"nmdbfnmdsfsdf"
... (19 Replies)
Discussion started by: Riverstone
19 Replies
10. UNIX for Beginners Questions & Answers
Hi All,
Need some help regarding file transfer between server.
Suppose we have system-A and system-B. To transfer file from system-A to system-B we usually share the
public keys of system-A to system-B and do scp/sftp to transfer a file.
Is it possible that public key of system-B can be... (3 Replies)
Discussion started by: abhi_123
3 Replies
LEARN ABOUT DEBIAN
bbstored-config
BBSTORED-CONFIG(8) Box Backup BBSTORED-CONFIG(8)
NAME
bbstored-config - Box Backup store daemon configuration file generator
SYNOPSIS
bbstored-config configdir servername username
DESCRIPTION
The bbstored-config script creates configuration files and server certificates for a bbstored instance. It takes three parameters:
configdir
The directory where config files will reside. A bbstored subdirectory will be created where several config files will reside. The
bbstored.conf file will be created in configdir.
servername
The name of the server that is being configured. Usually the fully qualified domain name of the machine in question.
username
The name of the user that should be running the bbstored process. Recommended name: _bbstored.
A valid raidfile.conf(5) must be found in configdir. Several steps are taken during the run of bbstored-config:
o Server certificates are created. This requires interaction from the operator.
o The RAID volumes are checked to ensure that the configuration is consistent and will work.
o Instructions for next steps to take are shown. These steps may be different for different OS platforms, so pay close attention to these
instructions.
FILES
/etc/box/bbstored.conf
SEE ALSO
bbstored.conf(5), bbstored(8), bbstored-certs(8), raidfile-config(8)
AUTHORS
Ben Summers
Per Thomsen
James O'Gorman
Box Backup 0.11 10/28/2011 BBSTORED-CONFIG(8)