DelFtp – Version 1.0b2 – program for deleting folders and files on an ftp server using ftp and ftps (FTP+SSL) protocols
If you need to regularly delete files and/or folders on ftp servers, this program will be useful to you. rusmikleАТgmail.com Mikhail Tchervonenko or telegram
Important: The author is not liable for any consequences of the program DelFtp. DelFtp program is in testing phase and may contain errors! By launching program DelFtp you fully accept the responsibility for her work on yourself.
md5: delftp.exe- F023D912FC34EC171E4D7B6E43F88F2E delftp_v1_0b2.zip – 9315271B49777E9D86B1962C5D759DB4 Program for get md5 of file hier
delftp -USER UserName -HOST HostName[ Keys] Folder and mask can contain predefined variables: {DATE} – current date, {DATETIME} – the current date and time (format variable {DATETIME} you can change with this key -DTF), {YEAR} – year number, {MONTHNAME} – name of the month, {DAYNAME} – weekday name, {MONTHOFYEAR} – month number of the year, {WEEKOFYEAR} – week number of the year, {WEEK OF MONTH} – week number of the month, {DAYOFYEAR} – day number of the year, {DAYOFMONTH} – day number of the month, {DAYOFWEEK} – day number of the week, {HOUR} – hour, {MIN} – minutes, {SEC} – seconds, {MSEC} – millisecond In all date and time variables, you can add or subtract values. For example {WEEKOFYEAR-1} will take one week from the current week number in the year and {DAYNAME+1} will return the name of the next day of the week. Calculations are always made from the current date and time.
Keys
[-?] or [-H] – this help [-RUS] russian help -USER – ftp user [-PASS] – ftp pass (default empty) -HOST – ftp host [-PORT] – ftp port (default 21) [-MF[ FileMask1[ FileMask2[ ….]]]] Mask for deleted files (default *) [-MD[ DirMask1[ DirMask2[ ….]]]] Mask for deleted folders [-FTPPASSIV] Passiv ftp mode [-FTPPASSIV] Passive FTP mode [-ASCII] ASCII data transfer mode (default is binary) [-SSL[ SSL version]] Enable FTPS protocol. Possible versions: SSLV2, SSLV23, SSLV3, TLSV1, TLSV1_1, TLSV1_2. (Only in the prof. version) [-SSLM SSL_mode] Set FTPS mode. Possible modes: UNASSIGNED, CLIENT, SERVER, BOTH. (Only in the prof. version) [-TLS TLS_mode] Set TLS mode. Possible modes: NOTLS, IMPLICIT, REQUIRE, EXPLICIT (default EXPLICIT) [-TIMEOUT [timeout in seconds]] Set timeout ftp connections. (default 10 seconds) [-DTF [Mask date]] mask the date and time to output (used in variables {DATETIME}). (default mask yyyymmddhhnnss) Date mask can contain the following control characters: y = Year of the last 2 digits, yy = year from the last 2 digits, yyyy = year 4-digit, m = number of the month without 0, mm = month number as 2 digits, mmm = Month using ShortDayNames (Jan), mmmm = month using LongDayNames (January), d = number without 0, dd = 2 as the number of digits, ddd = number using ShortDayNames (Sun), dddd = number using LongDayNames (Sunday), ddddd = number in ShortDateFormat, dddddd = number in LongDateFormat, c = Using ShortDateFormat + LongTimeFormat, h = hour without 0, hh = hour as a 2 digit, n = minutes without 0, nn = minutes as 2 digits, s = seconds without 0, ss = Seconds as 2 numbers, z = Milliseconds without 0, zzz = Milliseconds as 2 digits, t = Using ShortTimeFormat, tt = Using LongTimeFormat and any other permissible in file names and folder symbols. -CP CodePage – Code page number for the console output (default 65001 – UTF8). Possible values: 0 – ANSI, 1 – OEM, 2 – MAC, 3 – threads ANSI, 866 – OEM RUS, 65000 – UTF7, 65001 – UTF8 etc -1 (Minus) turns off the coding changes. Console font should allow display of this encoding! (Consolas for UTF8)
Examples
Example 1:C:\Windows\delftp.exe -MF /dumpdb/{DATETIME-2}_DB.sql /dumpdb/{DATETIME-3}_DB.sql /tmp/*.tmp -USER myftpusername -PASS myftppass -HOST myftphost.de -DTF dd-mm-yyyy -FTPPASSIV Removing database backup files from the /dumpdb folder with the dd-mm-yyyy.sql file mask where 2 and 3 days are taken from the current date, as well as all temporal files with the *.tmp mask from the /tmp folder. FTP connection is in passive mode. Date mask dd-mm-yyyy. Example 2:C:\Windows\delftp.exe -MF /temp/* -MD /temp -USER myftpuser -PASS myftppass -HOST myftphost -FTPPASSIV -P Delete the folder /temp before clearing it from files in passive mode ftp
To obtain a professional version, please contact the author (See e-Mail above).