| Dart Home | PowerTCP FTP for ActiveX | Custom Development | Reply | PowerTCP FTP for ActiveX Topics | Forums |
| Author | Forum: PowerTCP FTP for ActiveX Topic: PowerBuilder FTP Tool, Command Method |
| lhoang From: LONG BEACH, CA USA Posts: 16 Member Since: 11/17/00 |
posted August 12, 2002 7:37 PM Please help I have the following ftp command and it fail get "* tpmailbox=ZZ:1698028,settype=820" d:\820.edi The error message is: 500 Unimplemented or Unknown Command TIA |
Jon Belanger![]() From: Rome, NY USA Posts: 310 Member Since: 06/10/02 |
posted August 13, 2002 9:52 AM The actual command that you would send to an FTP server would be a RETR. The wildcard functionality is usually implemented on the client side. That is, the client requests a listing then loops through the listing and does a RETR on each file. Using the RETR command would require that the FTP server and client open another data connection which you couldn't do using the command method. You would have to purcahse the Winsock tool and open another connection yourself. We don't have any samples of how to do this. You should be able to use the .mget method to send the command to the FTP server. Were you having trouble sending the env var definitions via the .mget method? |
| lhoang From: LONG BEACH, CA USA Posts: 16 Member Since: 11/17/00 |
posted August 13, 2002 11:33 AM But since this command work perfectly for dos FTP, I assume it should work with PowerTCP FTP Please help TIA |
Jon Belanger![]() From: Rome, NY USA Posts: 310 Member Since: 06/10/02 |
posted August 13, 2002 11:42 AM The get * command doesn't work with DOS command line FTP. You have to do an mget *. Even if the get * did work the actual command that is being sent to the server is RETR filename, not get. So this is what you would have to send using the Command method. However, you can't do gets or puts with the command method without some advanced coding. I would suggest you look at the .mget method included in the tool. |
| Reply | PowerTCP FTP for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|