Discuss (FTP) and (SFTP, FTPS and SCP), our Java file transfer clients.
no avatar
User

ksssp

Posts

1

Joined

Tue Oct 25, 2011 5:41 pm

Location

Hyderabad, India

"REST[art] <position>" command for SSHFTPCli

by ksssp » Tue Oct 25, 2011 7:07 pm

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.
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: "REST[art] <position>" command for SSHFT

by support2 » Tue Oct 25, 2011 7:36 pm

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.

Who is online

Users browsing this forum: No registered users and 120 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron