Jump to content

Changing file attributes (modified date) via FTP


Recommended Posts

Hello,

 

When a script started as shown below, the “modified time/dates” of the files inside the directory changes as the time/date of “Starting ftp transfer” Accordingly this sutiation times/dates at host seems like all recived in same moment.

 

Could you please help me to fix this problem ?

 

Thanks in advance.

#include <File.au3>
#include <FTPEx.au3>;

FileFindFirstFile("c:\qmc\senddata\qmc_cmm\*.*" )
      If  not @error = 1 Then
                   Local $putCMM  = _FTP_DirPutContents ($Conn, "c:\qmc\senddata\qmc_cmm", '/DataSmithJr/Result/Assembly/CMM',1)
                   If $putCMM = 0 Then
                        exit
                  EndIf
                EndIf

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...