-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmode
16 lines (13 loc) · 897 Bytes
/
mode
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*****************************Download*******************************************/
mode=0: Download all files
mode=1: Download all files that do not exist on the local filesystem.
mode=2: Download newer or non-existant files.
mode=3: Download only newer files. If a file does not already exist on the local filesystem, it is not downloaded from the server..
mode=5: Download only missing files or files with size differences.
mode=6: Same as mode 5, but also download newer files.
mode=7: Do not download files, but instead delete remote files that do not exist locally.
/**************************upload****************************************************/
mode=0: Upload all files
mode=1: Upload all files that do not exist on the FTP server.
mode=2: Upload newer or non-existant files.
mode=3: Upload only newer files. If a file does not already exist on the FTP server, it is not uploaded.