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 Stored file doesn't send but file contains the local file location
ystoretools

From: San Juan Capistrano, CA USA
Posts: 5
Member Since: 01/12/06
posted January 31, 2006 8:26 PM

We had this just happen where a file the FTP server received didn't contain the file we attempted to send but instead received a blank file with one line of text which is the actual full file location of the file on our server. So basically instead of the "data" parameter in the store command retrieving the file and sending it, it sent a blank file with the actual text passed in the data parameter in it.

Any idea why this would happen?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted February 1, 2006 10:49 AM

If you specify a string that is less then 256 characters, we will first treat it as a file. If we don't find a file, then we treat the string as data.

If you are in a situation where you are not sure that the file exists, you should check programmatically for the existence of the file prior to calling Store.
ystoretools

From: San Juan Capistrano, CA USA
Posts: 5
Member Since: 01/12/06
posted February 1, 2006 12:39 PM

Thanks. The file is normally created but I'll make changes to check for it just in case. I figured it would error if it didn't exist.
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX