|
-
Jun 26th, 2007, 04:15 AM
#1
Thread Starter
New Member
Download From Ftp Server
Is it possible to find out file properties like .datelastmodified etc. before i download a file from FTP Server.??
Viewers suggestions solicited.
PKDEB
Last edited by Hack; Jul 26th, 2007 at 09:29 AM.
-
Jun 26th, 2007, 02:58 PM
#2
New Member
Re: Download From Ftp Server
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
-
Jun 27th, 2007, 02:22 AM
#3
Thread Starter
New Member
Re: Download From Ftp Server
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
-
Jul 26th, 2007, 09:22 AM
#4
New Member
Re: Download From Ftp Server
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|