Login  
Search All Forums
Dart Home | PowerTCP Server for ActiveX | Custom Development Reply | PowerTCP Server for ActiveX Topics | Forums   
AuthorForum: PowerTCP Server for ActiveX
Topic: With latest version of FTP Server I get error 550 Permission denied
Wim

From: Alphen aan den Rijn, Netherlands
Posts: 23
Member Since: 06/22/05
posted October 24, 2011 6:41 AM

Hello,
After upgrading to your latest version of Server Activex I get a '550 Permission denied' error when a client tries to download a file from the server. The file is available and not locked or so. On the system running the server all dll's specied in the helpfile have been updated.
Nick B (Admin)

From: Utica, NY USA
Posts: 576
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted October 24, 2011 10:31 AM

Hello,

Looking at our changelog, nothing stands out that could have caused this issue. The behavior of a retrieve is determined in the Retrieve event; have you checked what is occurring in that event when your user is attempting to download a file?

What dlls did you update? Please send in a DartNostics log from both your development machine, and your server to support@dart.com.
Wim

From: Alphen aan den Rijn, Netherlands
Posts: 23
Member Since: 06/22/05
posted October 24, 2011 11:37 AM

Hello,
The status in the server Retrieve is 'Permission denied'.
These files have been updated:
DartFtp.dll
DartSock.dll
DartFtpUtil.dll
DartFtpServer.dll

The log will follow, takes some time.
Wim

From: Alphen aan den Rijn, Netherlands
Posts: 23
Member Since: 06/22/05
posted October 24, 2011 11:43 AM

*content removed*
Wim

From: Alphen aan den Rijn, Netherlands
Posts: 23
Member Since: 06/22/05
posted October 24, 2011 11:44 AM

Please remove the content from the log from the forum.
Nick B (Admin)

From: Utica, NY USA
Posts: 576
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted October 24, 2011 12:07 PM

Hello,

Did you update DartServer.dll as well?

Are you able to retrieve a file using our included FTP Server sample?

If you would like content to not be on the forum, you can send it into support@dart.com
Wim

From: Alphen aan den Rijn, Netherlands
Posts: 23
Member Since: 06/22/05
posted October 24, 2011 1:09 PM

Yes, it's dated 05-jul-2011. When I try it running the VB6 server sample, I can log on but I do not see the directory content and cannot copy a file to the FTP server: 550 PERMISSION DENIED.
Nick B (Admin)

From: Utica, NY USA
Posts: 576
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted October 24, 2011 1:15 PM

Are you running the application on Windows 7? If yes, are you running it 'As Administrator' from the right-click context menu?

For the included sample: does the specified root directory have any files in it? Is the behavior any different if you log in as Anonymous (with anonymous allowed on the server), (use an email as the password)?
Wim

From: Alphen aan den Rijn, Netherlands
Posts: 23
Member Since: 06/22/05
posted October 24, 2011 2:02 PM

All tests are done on XPprof as administrator (for server and client). There are files in the root directory. Using a password does not make any difference.
Nick B (Admin)

From: Utica, NY USA
Posts: 576
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted October 24, 2011 2:17 PM

Hello,

So that I may quickly diagnose the issue, please respond to all questions asked.

Does the specified root directory have any files in it? Were you logged in as Anonymous, then?

I ran the FTP Server sample on Windows XP Professional, using the default root directory (C:\Program Files\PowerTCP\Server for ActiveX\Samples\Vb6\Ftp), logged in with our .NET FTP ListView Client sample as Anonymous and an email as a password, and could see three files (the project files), and downloaded one of them.
Wim

From: Alphen aan den Rijn, Netherlands
Posts: 23
Member Since: 06/22/05
posted October 24, 2011 2:55 PM

It is the same sample as you tried, I checked and the project files are in the rootdirectory. Also tried with another directory: same result. Also tried with username/password as used in the demo program: same result. All test do not show any files. For test, please mail me a zip file with all dll's needed to run the testprogram.
Nick B (Admin)

From: Utica, NY USA
Posts: 576
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted October 24, 2011 4:40 PM

Hello,

I think we managed to reproduce your issue: if I try to get a file inside of a directory inside of the working folder, then I get a 550 permission denied exception. If I get a file directly inside of the current working directory, then I don't get that exception.

Can you modify your client application so that it will change the working directory to the location of the file, instead of retrieving the file with an absolute path?

I've entered the stated issue as TTWeb #5541. For information and updates on its status, please contact jamie.powell@dart.com.

Regarding your issue with getting a listing with the sample; do you have a firewall active? It could be preventing the data channel from establishing.
Wim

From: Alphen aan den Rijn, Netherlands
Posts: 23
Member Since: 06/22/05
posted October 24, 2011 4:58 PM

The test from VB6 was to 'local host' 127.0.0.1 and no firewall was active. So a listing should have been possible. As far as I rember I'm using the path because changing the working directory gave problems when you want to go one level up. It's a few year ago this part of the code was build.

Can you get this solved in a one day? If not I'll revert back to the 2010 version. I've no time to wait more than a one day to get this solved.
Jamie Powell (Admin)

From: Rome, NY USA
Posts: 379
Member Since: 03/13/07

Extra Support Options
Custom Application Development

posted October 24, 2011 5:26 PM

This issue is currently being reviewed. Please contact jamie.powell@dart.com for status updates.

Thank you
Wim

From: Alphen aan den Rijn, Netherlands
Posts: 23
Member Since: 06/22/05
posted October 25, 2011 5:23 AM

Uninstalled the 2011 version (Wise Uninstaller did not work, you had to move the Install.log to another location to get it working). Then installed the 2010 version and it all seems to work like it should.
Reply | PowerTCP Server for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX