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: FTP Put Error - 553 Could not create file
jorlowsky
jorlowsky@speakeasy.net

From: Austin, TX USA
Posts: 4
Member Since: 11/03/04
posted November 3, 2004 4:57 PM

I am having trouble with the Put command when I run the following vb code:

Set ftp1 = New Ftp
ftp1.Type = ftpZip
     ftp1.Put "ftp://myuser:mypw@grace.speakeasy.net/upload/test.zip", "C:\test\test.zip"

I get the following error:
Run-time error '11101'

553 Could not Create file

any ideas?

thanks,

Jim
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 3, 2004 5:11 PM

What happens if you use ftp1.Type = ftpImage instead?
jorlowsky
jorlowsky@speakeasy.net

From: Austin, TX USA
Posts: 4
Member Since: 11/03/04
posted November 3, 2004 5:13 PM

The same thing happens if ftp1.type = ftpImage or if I let it default as well.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 3, 2004 5:21 PM

The server is telling you that you do not have write permissions for "/upload/test.zip" on "grace.speakeasy.net"

Try this and see what happens:

/~/upload/test.zip

This should start from "myuser"'s home.
jorlowsky
jorlowsky@speakeasy.net

From: Austin, TX USA
Posts: 4
Member Since: 11/03/04
posted November 3, 2004 5:37 PM

that failed as well.  So what I did was run the example PutURL code to try and upload files. using that I got the following information in the message/feeback box:

Starting new Transfer ...
220-BlackMoon FTP Server Version 2.6.2 Release 2 - Build 1687
220 service ready
331 User name okay, need password.
230-*** Login Complete ***
230 User logged in, proceed.
250 Requested file action okay, completed.
200 Command okay.
227 Entering Passive Mode (63,210,92,35,15,23)
Connect method failed. No connection could be made because the target machine actively refused it. This usually results from trying to connect to a service that is inactive on the foreign host - i.e. one with no server application running.

Any ideas...

thanks,

Jim
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 3, 2004 5:40 PM

What happens if you set "Passive" to false?
jorlowsky
jorlowsky@speakeasy.net

From: Austin, TX USA
Posts: 4
Member Since: 11/03/04
posted November 3, 2004 5:49 PM

It looks like it fails. I verified the file was not uploaded.


starting new Transfer ...
220-BlackMoon FTP Server Version 2.6.2 Release 2 - Build 1687
220 service ready
331 User name okay, need password.
230-*** Login Complete ***
230 User logged in, proceed.
250 Requested file action okay, completed.
200 Command okay.
200 Command okay.
150 File status okay; about to open data connection.
226-*** Upload FAILED! Check email. ***
226 Closing data connection. Transfer Complete (135 bytes)
221 Goodbye.
Transfer Complete.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted November 3, 2004 7:09 PM

Did you check your email? Apparently error info was sent to you.

If you are still not able to figure it out, try using the ListView sample to interactively login and navigate to the directory. Then attempt to store a file.

If that fails, post the contents of the debug log created by the Trace method instead of the contents of the log textbox.
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX