Solved

Command "reput" in ftp?

Posted on 1997-06-21
2
1,341 Views
Last Modified: 2012-05-04
I very like command ``reget'' in ftp. This command initiate transfer file restarting at end of local file. But I don't find command ``reput'' in ftp which may initiate transfer file to remote machine restarting at end of remote file. After crash of transfer file to remote machine by whatever reason another command ``put filename'' starts transfer file at begining of local file (not remote) wiping all previosly transferred bytes :( . So I must start transferring at most beginning again and again after any crash. I must put file to remote machine quite frequently and this channel is crashable. So this problem is critical to me. Does anyone know how I can solve this problem?

P.S. I use FreeBSD 2.1.0-RELEASE and standard /usr/bin/ftp .
0
Comment
Question by:igorsh
2 Comments
 

Accepted Solution

by:
vkg063097 earned 100 total points
ID: 2006447
Hello,
      Check restart option in ftp.
You may be interested in ncftp, I feel this is very fast with
lot of  user tunable parameters. You can solve problem of frequent disconnection by increasing the timeout period.
Please check ftp.cs.unl.edu site for your OS version of ncftp.

vinay

0
 

Author Comment

by:igorsh
ID: 2006448
I found option restart after I sent my question. But I must at first
do "ls" to know file size that I already transferred. Other
solution is:
1) do "ftp localhost"
2) do "proxy open remotehost"
3) do "proxy get filename"
4) after crash do "proxy reget filename"
Both solutions are not so fine as "reput".
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now