![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| after server disconnect ftp tranfer...... | happyv | Shell Programming and Scripting | 2 | 12-20-2006 09:47 PM |
| sqlplus session being able to see unix variables session within a script | 435 Gavea | Shell Programming and Scripting | 2 | 07-03-2006 10:11 AM |
| Force user to disconnect if no activity | MarkN | UNIX for Advanced & Expert Users | 3 | 06-07-2004 02:22 PM |
| automatic login from windows by a telnet session | Herwin | UNIX for Dummies Questions & Answers | 3 | 08-15-2002 11:56 AM |
| Connect over ssh, start something, disconnect | sTorm | UNIX for Dummies Questions & Answers | 2 | 07-12-2002 02:36 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
I've used curl (Command-line URL http://curl.haxx.se/) to restart FTP sessions in "mid file" using the --continue-at offset option. You would need to write a wrapper script run at whatever interval desired to check the transfer. If the file were incomplete, it could then restart at the current file size + 1 byte.
Additionally, curl returns a non-zero return code if the transfer failed. With that, you could determine the appropriate byte offset and requeue your script using the at command. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|