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: MGET/MPUT overwrite properties
joanne

From: Higganum, CT USA
Posts: 11
Member Since: 01/07/04
posted February 10, 2004 2:57 PM

The documention mentions that an MPUT always overwrites the target file if it already exists.

"Any existing files will be replaced unless file permissions do not allow."

Is there a way to restrict this? Can the StoreType be used?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted February 10, 2004 3:05 PM

If you need that level of control, you should not use MPUT. You'll have to get a listing first, then determine what you need to put.
joanne

From: Higganum, CT USA
Posts: 11
Member Since: 01/07/04
posted February 10, 2004 3:12 PM

So what is the difference between Put and Store?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted February 10, 2004 3:16 PM

I think you mean, what is the difference between MPUT and Store. If so, then Store puts a single file to the server. MPUT is an upper level function we decided to write for convenience. It does a list both locally and remotely and determines what files need to be transferred.

joanne

From: Higganum, CT USA
Posts: 11
Member Since: 01/07/04
posted February 10, 2004 3:23 PM

I do mean what is the difference between a put and a store?

Is store just a wrapper for the put command?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted February 10, 2004 4:20 PM

Store is a wrapper for the "STOR" command. You may be confused because some ftp programs call it PUT.
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX