On Thursday 04 December 2008, Heinrichs, Dirk (EXT-Capgemini - DE/Dusseldorf) wrote:
> Did you make sure the chunks are transfered in binary mode?
Aha!! Since the split chunks were part of a video file I assumed that it would
be binary - and I understand that the default type (for tnftp) is binary?
There's more to it:
I use tnftp because it has an unattended feature which suits me nicely. A
string like:
sleep 90m ; tnftp -u ftp://<username>:<passwd>@<server_address>/htdocs/path \
<files_to_upload>
will login after 90 minutes and upload the file(s) I want (not sure if/how I
can do this with vanilla ftp).
> BTW, most
> modern FTP clients have a resume option, so there's no need to split.
Yes, tnftp has the 'reget' command but I can't find a 'reput', or 'resume'?
It also has 'restart':
==============================================================
restart marker
Restart the immediately following get or put at the indicated
marker. On UNIX systems, marker is usually a byte offset
into the file.
==============================================================
but I am not sure how this works exactly. Would anyone be clued up on the
intricacies of tnftp?
Anything else I could try?
--
Regards,
Mick
signature.asc
Description: This is a digitally signed message part.

