[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mput with FTPAPI
Interesting interpretation.   I would say that FTPAPI is intended to be 
controlled by a program (vs. something like the IBM or Windows FTP 
clients that are intended to be used interactively by a user.)
While it is VERY tedious for a user to list the contents of a directory, 
then manually do a 'PUT' to each thing in the list, it is not tedious 
for a computer program.  The program simply puts the list of files in 
the array, and spins through them in a loop.
This approach is FAR more powerful than MPUT because it lets you tailor 
the logic in the loop to precisely what you want to do.   Do you want to 
just send the files?  (as MPUT would do) Or, do you want to send one, 
check the status, update a database file to notify an operator that it 
was successful, then delete it?   You can do it either way with a 
program-controlled loop.  Can't really do it with just an MPUT command.
On 7/11/2013 9:08 AM, Charles Wilt wrote:
    MPUT is not a function of the FTP protocol itself, rather it's a
    function of whatever FTP client you are using.  FTPAPI isn't designed
    as a full function client, rather it is a thin wrapper over the raw FTP
    protocol.
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------