- GETTING STARTED
- Server connection
- File Transfer
- Directory operations
- File operations
- Script output
Set the file modification time of a local or remote file.
location: Set it to one of the following values.
LOCAL The file in the next parameter is a local file. REMOTE The file in the next parameter is a file located in the FTP server.
file: The file to apply the new modification time. This parameter can optionally include a path.
- new_modification_time: The new file modification time in the format YYYY_MM_DD-hh_mm_ss. This is the FORMAT0 returned by GETTIME
#Set local file test.txt modification time to 08/05/2009 - 16:00:00.
#Set remote file test.txt modification time to the current modification time
# Change the file modification time of the remote file test.txt
# located in the remote directory mysubdir to the current time
# adding one hour