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 folder not found
dlatvala

From: Minneapolis, MN USA
Posts: 2
Member Since: 12/30/03
posted December 30, 2003 10:44 PM

Hello,

We are using the FTP component to push files to an FTP site where our login will start us in our correct directory. The physical FTP root looks like this:

FTP Root
 -userid1 folder
  -subfolder1
   -subfolder2
 -userid2 folder
 -userid3 folder
 ...

When we log in as userid1, we begin our session in the userid1 folder. We then use the put method to push a file to the site.

When we attempt this from the command line without using the FTP component, there are no problems. However, when we use the FTP component we get an error 550 / folder not found. The URL for the put method looks like ftp://user:password@server/subfolder1/subfolder2.

When we use TRACE it appears that the PUT method executes a CWD command before it executes the PUT. This causes the 550 error to happen. It doesn't appear that we have this problem with FTP servers that start our session in the root (as opposed to the userid1 folder).

Thanks for any help.

Dan
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted December 30, 2003 10:57 PM

Try this:

ftp://user:password@server/~/subfolder1/subfolder2
dlatvala

From: Minneapolis, MN USA
Posts: 2
Member Since: 12/30/03
posted December 31, 2003 10:32 AM

When we tried this it looks like the PUT operation times out. What exactly is the ~ supposed to do?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted December 31, 2003 10:51 AM

It means "home directory". I thought it might work. Maybe if you tried using the sample listview app, instead using the Put method, you could get some clues.
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX