Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: PUT File Access Denied
User44

Posts: 3
Member Since: 05/09/02
posted May 9, 2002 12:10 AM

I have been trying to use the following code with no success. I am able to ftp using other programs. This is run from inside a class. Please Help.

 user = "troy"
 password = "password"
 fileServer = "ftp.myserver.com"
 fileName = "autoexec.bat"
 theFile = "c:\autoexec.bat"

 Main.Ftp1.Login fileServer, user, password
 Main.Ftp1.Store fileName, theFile
 Main.Ftp1.Logout

I have also tried the put command with no success. these both return the same error.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted May 9, 2002 12:34 AM


First I have to ask if the samples work, if they do, then see what we do different. My guess is that you need to specify more of path then just "filename"

Hope this helps!

Tony Priest
Dart Tech Support
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX