02-01-2012
FTP/SFTP/SCP Files
Hi,
I have a process which FTP's the files from one server to another server.
Sometimes only half or a part of the file is delivered to remote location, but on the end log says FTP is successful. But ideally file in full is not delivered to remote location.
How can i catch these kind of errors in FTP as well as in SFTP?
How can i make sure file is delivered in full to remote location.
Any Checksum or calculating file size of remote location would help?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
My transmit rates are waaay faster using scp over sftp....anyone know why scp is faster than sftp? I am using solaris 8 for my unix systems.
-S (2 Replies)
Discussion started by: Sowser
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have this problem where sometimes my files would go missing when I schedule my crontab to run the SCP command to get file from the SFTP server.
My crontab will run the scripts at an interval of 3 minutes (between the two scripts) The following is the setting in my crontab.
... (1 Reply)
Discussion started by: gingervitus
1 Replies
3. AIX
hi,
i have a weird problem
i have to copy the file with caret(^) in it. but when i tries to copy with
scp. It(scp) says that it cant use ^file_name
scp mohit^narang user@machine/mohit^narang
the error comes in the second parameter.if i used user@machine/mohit_narang(under score) instead... (2 Replies)
Discussion started by: narang.mohit
2 Replies
4. Shell Programming and Scripting
Hi,
I have generated a Public/Private Key Pair in Solaris Unix (source) server and deployed the Public key in Windows 2003(target) server .ssh directory of user profile.
When i try to connect(ssh, scp, sftp) from Unix, i'm getting below error message.
Sun_SSH_1.1, SSH protocols 1.5/2.0,... (0 Replies)
Discussion started by: ajaykumarb
0 Replies
5. SuSE
Hi,
I need to write a script to scp/sftp files from server A to server B..But i do not want to overwrite the files which already exist on server B.
Anyone has a script which does the above
Regards (2 Replies)
Discussion started by: SystemEng
2 Replies
6. Shell Programming and Scripting
Hi All,
I have to make an automated script that needs to do SFTP or SCP from my Unix server to another Unix server.
I have gone through search of this website for sftp and scp.
I really get confused when it talk about ssh key or rsh key and sftp -b thing
I would really appreciate if... (4 Replies)
Discussion started by: pinnacle
4 Replies
7. 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
8. Solaris
We have umask defined under /etc/.login as 022.
I have my user specific umask defined in /userhome/.login as 002.
I understand ftp will not execute anything at destination, it simply transfers files.
But it seem to be using 022 as umask for the files transferred. How does ftp knows what umask... (4 Replies)
Discussion started by: kchinnam
4 Replies
9. 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
10. Shell Programming and Scripting
Hello All,
Hope all are doing well.
We use scp (some times sftp and rsync also) for transferring big files (around 2GB each ) from 1 Network to another Network.
The Issues which we face :-
During transfer some times( Once in 1 week (or twice)) , the speed of transfer gets down to 30 kb/s,... (2 Replies)
Discussion started by: Upendra Bhushan
2 Replies
GFTP(1) General Commands Manual GFTP(1)
NAME
gftp - file transfer client for *NIX based machines.
SYNOPSIS
gftp [options] [[proto://][ user : [pass] @] server [: port ][/ directory ]]
DESCRIPTION
gFTP is a file transfer client for *NIX based machines. It currently has a text interface and a GTK+ 1.2/2.x graphical interface. It cur-
rently supports the FTP, FTPS (control connection only), HTTP, HTTPS, SSH and FSP protocols.
OPTIONS
You may enter a url on the command line that gFTP will automatically connect to when it starts up.
--help, -h
Display program usage.
--info Display some information about how gFTP was built. Please send the output of this command when submitting a bug report.
--version, -v
Display the current version of gFTP.
proto This specifies the protocol that should be used. It can currently be one of the following options: ftp, ftps, http, https, ssh, fsp,
local and bookmark. If omitted, the protocol specified by the default_protocol option will be used.
user The username that will be used to log into the remote server. If omitted, your current username will be used for most protocols. For
the FTP protocol, the anonymous username will be used.
pass The password that will be used to log into the remote server. If omitted, you will be prompted for the password. If you are using
the FTP protocol, and the username is anonymous, then your email address will be used as the password.
server The remote server to connect to.
port The remote port on the server to connect to. If omitted, the default port for the protocol will be used. The port will be looked up
in the services(5) file.
directory
The directory to change to once you are connected to the remote server.
FILES
~/.gftp/gftprc
Per user configuration file. Most of these options can be edited inside gFTP. This file is also commented very well. ~/.gftp/book-
marks
Per user bookmarks file.
BUGS
If you find any bugs in gFTP, please report them to GNOME's Bugzilla at http://bugzilla.gnome.org/
AUTHOR
Brian Masney <masneyb@gftp.org> - http://www.gftp.org/
MARCH 2007 GFTP(1)