Quantcast
Channel: Troubleshooting
Viewing all articles
Browse latest Browse all 1814

FTP session issue in IIS 7.0 with FTP 7.5

$
0
0

OS: Windows 2008

IIS: 7.0.6000.16386

FTP: 7.5.7600.14978

Mode: Passive

The issue is when trying to upload a batch of files in PASV mode via FTP script or command line, the first uploading will fail all the time.

After checking the log, it seems after the server allocate a port# to the client end, there'll be another IP/client jump in using the same ftp session, which caused the first uploading connection using the incorrect data (IP+port number). However the later transimission are all normal.

FTP Log as below:
#Fields: date time c-ip cs-username s-ip s-port cs-method cs-uri-stem sc-status sc-win32-status sc-substatus sc-bytes cs-bytes time-taken x-session x-fullpath

2016-06-10 03:56:34 10.215.49.160 - 10.215.67.151 21 ControlChannelOpened - - 0 0 0 0 0 327847d9-1822-49f6-8bc8-753bb91bda00 -
2016-06-10 03:56:34 10.215.49.160 - 10.215.67.151 21 USER account1 331 0 0 40 18 0 327847d9-1822-49f6-8bc8-753bb91bda00 -
2016-06-10 03:56:34 10.215.49.160 SIN-testserver\account1 10.215.67.151 21 PASS *** 230 0 0 21 16 0 327847d9-1822-49f6-8bc8-753bb91bda00 /
2016-06-10 03:56:34 10.215.49.160 SIN-testserver\account1 10.215.67.151 21 TYPE I 200 0 0 20 8 0 327847d9-1822-49f6-8bc8-753bb91bda00 -
2016-06-10 03:56:34 10.215.49.160 SIN-testserver\account1 10.215.67.151 21 PASV - 227 0 0 51 6 0 327847d9-1822-49f6-8bc8-753bb91bda00 -
2016-06-10 03:56:34 10.215.49.160 SIN-testserver\account1 10.215.67.151 21 CWD /WebASN/Outbound 250 0 0 29 22 0 327847d9-1822-49f6-8bc8-753bb91bda00 /WebASN/Outbound
2016-06-10 03:56:34 10.215.49.160 SIN-testserver\account1 10.215.67.151 21 TYPE A 200 0 0 20 8 0 327847d9-1822-49f6-8bc8-753bb91bda00 -
2016-06-10 03:56:34 - SIN-testserver\account1 10.215.67.151 51752 DataChannelClosed - - 1223 0 0 0 0 327847d9-1822-49f6-8bc8-753bb91bda00 -
2016-06-10 03:56:34 10.215.49.160 SIN-testserver\account1 10.215.67.151 21 PORT 10,215,49,160,195,244 200 0 0 30 28 0 327847d9-1822-49f6-8bc8-753bb91bda00 -
2016-06-10 03:56:34 10.215.20.146 SIN-testserver\account1 10.215.67.164 51739 DataChannelOpened - - 0 0 0 0 0 327847d9-1822-49f6-8bc8-753bb91bda00 -
2016-06-10 03:56:34 10.215.20.146 SIN-testserver\account1 10.215.67.164 51739 DataChannelClosed - - 1236 38 0 0 0 327847d9-1822-49f6-8bc8-753bb91bda00 -
2016-06-10 03:56:34 10.215.49.160 SIN-testserver\account1 10.215.67.151 21 NLST /WebASN/Outbound 425 1236 38 75 23 0 327847d9-1822-49f6-8bc8-753bb91bda00 /WebASN/Outbound
2016-06-10 03:56:34 10.215.49.160 SIN-testserver\account1 10.215.67.151 21 TYPE I 200 0 0 20 8 0 327847d9-1822-49f6-8bc8-753bb91bda00 -
2016-06-10 03:56:34 10.215.49.160 SIN-testserver\account1 10.215.67.151 21 TYPE A 200 0 0 20 8 0 327847d9-1822-49f6-8bc8-753bb91bda00 -

Tested the same in another UAT server, however the issue didn't happen.

OS: Windows 2008 R2

IIS: 7.5.7600.16385

FTP: 7.5.7601.17855

Mode: Passive


Viewing all articles
Browse latest Browse all 1814

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>