
October 28th, 2011, 02:07 AM
|
|
Registered User
|
|
Join Date: Oct 2011
Posts: 3
Time spent in forums: 33 m 21 sec
Reputation Power: 0
|
|
|
REST Command Equivalent for SFTP (SSH-FTP)
Hi,
I have 2 doubts regarding FTP and SFTP.
1. I need to download only a certain part of a file located on an ftp source.. i.e. about the last 200 bytes. I was able to use the "REST <location>" to start download from <location> point to the end of the file. But, SSH-FTP or SFTP does not support the REST command. Is there an alternative to REST in SFTP? My basic task is to download a file from an offset of my choice.
2. I need only a limited amount of data from the file, i.e. about 50 bytes from the 200th byte of the file. I could start download from 200th byte using REST, but, am unable to find a mechanism by which I can download only the necessary content by specifying its size.
Thanks in advance.
|