Is it possible to find out file properties like .datelastmodified etc. before i download a file from FTP Server.??
Viewers suggestions solicited.
PKDEB
Printable View
Is it possible to find out file properties like .datelastmodified etc. before i download a file from FTP Server.??
Viewers suggestions solicited.
PKDEB
Yes. Not all servers support these commands, but the MDTM command can be used to get the last modified date. The SIZE command can be used to get the remote filesize.
See the Ftp.GetFilesize and FtpGetFileTimestamp methods in the following API
http://www.jscape.com/sftpdotnet/index.html
Dear vglass
Thanks your advice.
I m using vb studio and i m afraid all these stuff are in vb.net. is there anything in vb studio like this? I may be wrong.
Thanks once again
PK DEB
You can use API functions in pre .net versions of VB.
I'm using them in VB6.
see http://www.vbforums.com/showthread.p...hlight=ftp+api