FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old November 22nd, 2003, 04:02 PM
macrado macrado is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 58 macrado User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 48 sec
Reputation Power: 5
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~~

Reply With Quote
  #2  
Old November 22nd, 2003, 11:08 PM
cleverpig cleverpig is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2003
Posts: 1,152 cleverpig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via MSN to cleverpig
Plz visit www.vbip.com...This site has all-sided tutorial about ftp command and vb program..

Reply With Quote
  #3  
Old November 23rd, 2003, 08:41 AM
macrado macrado is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 58 macrado User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 48 sec
Reputation Power: 5
Thumbs down

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?

Reply With Quote
  #4  
Old November 23rd, 2003, 07:16 PM
cleverpig cleverpig is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2003
Posts: 1,152 cleverpig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via MSN to cleverpig
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...

Reply With Quote
  #5  
Old November 23rd, 2003, 09:24 PM
macrado macrado is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 58 macrado User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 48 sec
Reputation Power: 5
Thumbs up

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!

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > Return Last Modified Date on an FTP Connection?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway