Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3k views
in Java FTP by (120 points)
Hi,

1. Of late, I've been using edtFTPj/PRO for one of my projects. I need to start download a file on an ftp from any point of my choice(position). With respect to FTPClient, I've first done an executeCommand("REST " + position) and then get(file). But, I am unable to do the same with SSHFTPClient connecting to the same source and retrieving the same file. Could some one suggest an alternative or point out anything I am missing here? :?: :?:

2. Secondly, does edt provide for only partial download of a file? i.e. if I want to download 30 bytes of data from the 250th byte of a specific file, can I do it?
executeCommand("REST 250") - go to 250th byte
get(file) - will get data from byte 250 till EOF. But I need only 30 bytes. Is there any option to do that?

Thanks in advance.

1 Answer

0 votes
by (162k points)
No, and no. But both very useful suggestions. In fact the first one we've just implemented for edtFTPnet/PRO, and we'll do it for edtFTPj/PRO quite soon.

Categories

...