﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Ipswitch Forums / File Transfer / WS_FTP Server  / "%File" contains mixture of physical and virtual path - a bug? / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>Ipswitch Forums</description><link>http://forums.ipswitch.com/</link><webMaster>forums@ipswitch.com</webMaster><lastBuildDate>Fri, 09 Jan 2009 18:40:59 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: "%File" contains mixture of physical and virtual path - a bug?</title><link>http://forums.ipswitch.com/Topic42480-8-1.aspx</link><description>*bump*&lt;br&gt;&lt;br&gt;I'd [i]really[/i] like to see this adressed ;)</description><pubDate>Mon, 28 Apr 2008 11:50:06 GMT</pubDate><dc:creator>dawidi</dc:creator></item><item><title>RE: "%File" contains mixture of physical and virtual path - a bug?</title><link>http://forums.ipswitch.com/Topic42480-8-1.aspx</link><description>I have a similar issue with file uploads, for example:&lt;/P&gt;&lt;P&gt;upload file:  c:\FtpUsers\ftp\users\johndoe\upload\test.txt&lt;/P&gt;&lt;P&gt;Our customers have programs in place that login and instead of changing directories to the upload directory they simply perform a STOR command from the login directory and add the subfolder name onto the uploaded filename.  ie  STOR upload/test.txt.  This method has always worked in the past, we just upgraded to version 6 of the server and now the %File argument is incorrect. &lt;/P&gt;&lt;P&gt;The file upload works and the file gets saved into the correct directory but the subfolder name is duplicated in the %File argument: C:\FtpUsers\ftp\users\johndoe\upload\upload\text.txt. </description><pubDate>Fri, 04 Apr 2008 11:18:32 GMT</pubDate><dc:creator>dcrysler</dc:creator></item><item><title>"%File" contains mixture of physical and virtual path - a bug?</title><link>http://forums.ipswitch.com/Topic42480-8-1.aspx</link><description>Hi,&lt;br&gt;&lt;br&gt;I think I found a bug in WS_FTP Server 6, and I haven't found any mention of it so far, so I guess it hasn't been discovered yet.&lt;br&gt;&lt;br&gt;When a file upload/download notification triggers on a file in a virtual folder, the parameter "%File" does not expand to the correct physical path of the file on the disk, but rather a mixture of the physical and virtual paths.&lt;br&gt;In our case we have paths like this:&lt;br&gt;E:\users\user1\&lt;br&gt;E:\users\user2\&lt;br&gt;and a virtual folder for user2, referring to the physical user1 folder.&lt;br&gt;Now when user2 downloads /user1/file.txt (from his view), %file in the download notification expands to&lt;br&gt;E:\users\user2\user1\file.txt&lt;br&gt;instead of&lt;br&gt;E:\users\user1\file.txt&lt;br&gt;and scripts called by the notification will report a "path not found" error.&lt;br&gt;I traced the log entries in our database, these errors started on the day we upgraded from WS_FTP Server 5 to 6, in October 2007.&lt;br&gt;We're currently testing a workaround that strips the extraneous part from the parameter, but that works only in our special case, and I think it should be fixed at the source.&lt;br&gt;&lt;br&gt;Can someone reproduce the problem?</description><pubDate>Thu, 03 Apr 2008 09:35:25 GMT</pubDate><dc:creator>dawidi</dc:creator></item></channel></rss>