Hi all,
I'm developing FTP Server and I'm standing in front of quite interesting problem with handling FTP URLs in Internet Explorer: consider this FTP URL:
ftp://127.0.0.1/=Temp=/Update/hi/2/Main.upd
The physical path of FTP's root is c:\=FTP=Of course Main.upd is file. But, when I click on this URL in Internet Explorer, I can see that it sends CWD command instead of RETR to my server! Here's the log from server:
> USER anonymous
< 331 Password required for anonymous
> PASS IEUser@
< 230 User anonymous is logged in
> TYPE I
< 200 Type set to: I
> PASV
< 227 Opening passive mode (10,28,14,98,10,190)
> CWD /=Temp=/Hi/update/2/Main.upd
< 501 CWD failed /C:/=FTP=/=Temp=/Hi/update/2/Main.upd/"
> USER anonymous
< 331 Password required for anonymous
> PASS IEUser@
< 230 User anonymous is logged in
> TYPE I
< 200 Type set to: I
> PASV
< 227 Opening passive mode (10,28,14,98,10,190)
> CWD /=Temp=/Hi/update/2/Main.upd
< 501 CWD failed /C:/=FTP=/=Temp=/Hi/update/2/Main.upd/"
I tested in on Windows 2000...I really don't why IE tries to treat the FTP URL as a path and not as a file.
I'm developing FTP Server and I'm standing in front of quite interesting problem with handling FTP URLs in Internet Explorer: consider this FTP URL:
ftp://127.0.0.1/=Temp=/Update/hi/2/Main.upd
The physical path of FTP's root is c:\=FTP=Of course Main.upd is file. But, when I click on this URL in Internet Explorer, I can see that it sends CWD command instead of RETR to my server! Here's the log from server:
> USER anonymous
< 331 Password required for anonymous
> PASS IEUser@
< 230 User anonymous is logged in
> TYPE I
< 200 Type set to: I
> PASV
< 227 Opening passive mode (10,28,14,98,10,190)
> CWD /=Temp=/Hi/update/2/Main.upd
< 501 CWD failed /C:/=FTP=/=Temp=/Hi/update/2/Main.upd/"
> USER anonymous
< 331 Password required for anonymous
> PASS IEUser@
< 230 User anonymous is logged in
> TYPE I
< 200 Type set to: I
> PASV
< 227 Opening passive mode (10,28,14,98,10,190)
> CWD /=Temp=/Hi/update/2/Main.upd
< 501 CWD failed /C:/=FTP=/=Temp=/Hi/update/2/Main.upd/"
I tested in on Windows 2000...I really don't why IE tries to treat the FTP URL as a path and not as a file.