Background

Conventional FTP lacks security because of no encryption plain protocol. Windows FTP does not support encrypted FTPS either. But WINSCP supports command-line and FTPS

Summary

Installing WINSCP on Win10, Enoki tried FTPS to a free server XFREE.

背景

暗号化 FTP である FTPS に対応している WINSCP がある。

要約

WINSCP を Win10 にインストールし,FTPS をフリーサーバの XFREE に試した。

FTPS and a free server evaluation 2020-12-09

WINSCP installer doesn't support XP

A free server disconnection

Enoki had uploaded on time for free FC2 server before, but FC2 refused to do suddenly.

Enoki confirmed that FTP software FFFTP could not do uploading.

So Enoki has begun uploading at the other site eonet. The site is free without advertisement because it is my provider.

FTPS (FTP over SSL)

FTP communicates with no encryption, so FTPS becomes popular now because modern browser supports SSL.

FFFTP

Enoki always uses FFFTP for uploading.

Although FFFTP supports FTPS (FTP over SSL), its command-line cannot upload a single file.

WINSCP

Otherwise WINSCP command-line can upload one file. Enoki downloaded WINSCP and installed it on Win10 PC, but failed to install on WinXP Home local PC. Because the Installer supports Win7 later only.

Downloading at allxpsoft.com, Enoki tried but failed. Windows XP detected illegal 16 bit code that allxpsoft.com led to Russian region 'gfdsoft.ru'.

WINSCP test on Win10

A bat file accesses updated TWE.txt (6KB) and transfers in regulated period.

BAT file

The BAT creates empty time.txt, when Task scheduler works. So you can find the activated latest time.

rem ---
cd PATH1
del time.txt
type nul > time.txt
"Full PATH2\WinSCP" /script="PATH1\ftps.txt"
rem ---

Script ftps.txt

open ftps://UserID:PassWord@HostID -explicit
bin
put "PATH3\TWE.txt" TWE.txt
bye

Test result

Win10 home task scheduler cannot set up arbitrary period like XP. So Enoki adopted 15 minutes interval.

WINSCP on Win10 has continued to upload to XFREE server for 4 days.

Enoki has begun FTP test on Xfree for 19 minutes period on 2020-12-15

Free server XFREE vs FC2

Tracert

Enoki compared XFREE response time with FC2 by tracert command on 2020-12-09.

XFREE at 16:32

enk.php.xdomain.jp [157.112.147.25]
1 <1 ms <1 ms <1 ms ****
2 2 ms 1 ms 2 ms ****
3 2 ms 2 ms 2 ms 121.83.241.205
4 4 ms 4 ms 3 ms 61.205.118.101
5 4 ms 4 ms 4 ms 219.122.245.1
6 3 ms 3 ms 4 ms 219.122.245.38
7 4 ms 3 ms 3 ms softbank221111202213.bbtec.net [221.111.202.213]
8 * * * Time out
9 12 ms 11 ms 12 ms 61.206.183.30
10 13 ms 12 ms 13 ms 202.143.80.45
11 12 ms 12 ms 11 ms 202.143.80.18
12 13 ms 12 ms 13 ms 115.30.31.26
13 19 ms 19 ms 19 ms 103.3.0.5
14 33 ms 39 ms 32 ms 103.3.0.23
15 19 ms 19 ms 19 ms 103.3.0.35
16 18 ms 18 ms 18 ms sv4.php.xdomain.ne.jp [157.112.147.25]

FC2 at 16:29

hps15-web.fc2.me [104.244.99.42]
1 <1 ms <1 ms <1 ms ****
2 1 ms 1 ms 1 ms ****
3 2 ms 2 ms 2 ms 121.83.241.205
4 3 ms 3 ms 3 ms 61.205.118.109
5 33 ms 3 ms 3 ms 219.122.245.13
6 4 ms 3 ms 3 ms 219.122.245.42
7 106 ms 106 ms 105 ms 180.145.253.122
8 132 ms 142 ms 143 ms 63210-sv5-ix.equinix.com [206.223.116.114]
9 113 ms 113 ms 113 ms 104.244.96.22
10 114 ms 115 ms 114 ms 104.244.96.58
11 112 ms 112 ms 113 ms 104.244.99.42

Result

XFREE responses 18 ms faster than FC2 112 ms, though hop number is bigger.

It seems that FC2 delays because FC2 server is located in the US. Enoki feels the Pacific vast.

Table2 shows a few servers that Enoki has been trying in Japan and the US.

UK means UNKNOWN. XFREE supports PHP and MySQL, but FC2 not.

Table 2 Free server XFREE vs FC2
ServerJava-
script
Scheduled FTPScheduled FTPSPHP Certify
browsing
XFREEUKUKTrialOKNG
FC2OKNGNGNGOK
eonetNGOKNGNGNG
SakuraOKOKOKOKOK

FTP password

Tracert command makes the both FTP host ID obvious. Users have to protect their own sites by password only.

FC2 supports 10-digit password generator in browser. The password durates 5 years to crack[1]. FC2 also can lock FTP uploading. In the case users have to ftp via browser file manager. XFREE has to prepare by themselves.

Ref

[1] How Secure Is My Password?

Conclusion

XFREE vs FC2

Free FC2 server does not support PHP and data base. We had better choice XFREE.

FTPS or FTP

XFREE, FC2 and Sakura limit FTPS within domestic connection.

With FTPS, XFREE and Sakura might intend to omit bad guests.

Abrupt disconnection

Free servers does not offer technical support at all. So An abrupt dis-connection might occur.

Enoki doubts that FC2 would judge automatic frequent uploading for omitting ad.

XFREE also might make the same decision as well.

Win10 vs XP task scheduler

The Win10 Home task scheduler assigns 5, 15, 30 and 60 minutes interval only.

And the task hardly stops at once, even if the task turns off within setup screen.

Rather WinXP Home task scheduler is better than Win10 Home.

Local Linux server

With local Linux PC, the PC can use Cron instead of Windows task scheduler.

And Linux lftp command seems available to handle FTPS.

Enoki had better build a Linux PC for Cron and FTPS.

Rental server

If XFREE disconnects suddenly, we have to rent a server that supports PHP and data base.

Or should we buy cloud service?

© Enoki 2020 December 15