File Size
Posted: Wed 12 May 2010 23:03
Hello friends,
I have been trying the Securebridge and i need to know how to retrieve the size attrib from a file allocated in the SFTP server
I am doing something like this:
Thanks, and best regards
I have been trying the Securebridge and i need to know how to retrieve the size attrib from a file allocated in the SFTP server
I am doing something like this:
Code: Select all
Attrs := TScSFTPFileAttributes.Create;
Handle := ScSFTPClient.OpenFile(GetRootDir + slArchivos[nCicloArchivos], [foRead], Attrs);
nTamServer := Attrs.Size;