|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
Return Last Modified Date on an FTP Connection?
I am writing a program in VB that uses the Internet Transfer Control to make an FTP connection. What I need to do is examine the files that exist on this FTP site and return the date they were last modified. How do I do this? If it can't be done with the Internet Transfer Control, is there another control that can be used to access the date the file was last modified? I have tried using the getHeaders method, but this is only valid for HTTP connections...Help! :-)
__________________
~~Macrado~~ |
|
#2
|
|||
|
|||
|
Plz visit www.vbip.com...This site has all-sided tutorial about ftp command and vb program..
|
|
#3
|
|||
|
|||
|
That site is currently down - it's been down for a while. ...I know that what I want to do can be done somehow - if you go to an FTP site through internet explorer, and check the properties for a file, it does show the date the file was last modified, so I know that the information exists - I just don't know how to get it. Until that website comes back up, does anyone else have any suggestions?
|
|
#4
|
|||
|
|||
|
When u connect a ftp server to get the files information,the files information will be send to your pc with some format.If u will get these information,u can read some ftp command and session knowledge or use sniffer to listen this period...
|
|
#5
|
|||
|
|||
|
http://dart.com/powertcp/ftp.asp
This site has an active X component which handles FTP connections very nicely - it has the ability to return the file properties including file size, date and time last modified, and more. It is very flexible and easy to use. So I guess I was able to solve this myself - it only took about 2 or 3 weeks of searching the web :-P If anyone else ever needs help with this, I highly recommend using this over the MS Internet Transfer Control. Of course, there is a catch...its only a trial - fully functional for 30 days - don't know what happens to your app after the 30 are up...but if it works, then somebody deserves to be paid Now all I have to do is get my boss to pay them Thanks for the suggestions Cleverpig! |
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > Return Last Modified Date on an FTP Connection? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|