Results 1 to 4 of 4

Thread: Download From Ftp Server

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2007
    Posts
    9

    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.

  2. #2
    New Member
    Join Date
    Jun 2007
    Posts
    4

    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

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2007
    Posts
    9

    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

  4. #4
    New Member
    Join Date
    Jul 2007
    Posts
    13

    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
  •  



Click Here to Expand Forum to Full Width