Date:  02/14/2002 10:47:51 AM Msg ID:  000368
From:  Gary Thread:  000368
Subject:  FTP actions (upload/download)
FoxWeb 2.0

Is there a way to automate a FTP based upload.  I have worked out the download, but do not know how to do the upload.  I tried the methods demonstrated in the Examples, but the files the site will be dealing with are very large (multi-megs) and using filetostr() and strtofile() delay is not acceptable.

We a working with IIS5 on Win2000 server, I created a user for handling the FTP transfers (no anonymous logins).  Here is how I am handling the downloads (after the end-user selects the file from a fwx form)

  Response.Redirect('ftp://username:password@'+Request.ServerVariables("SERVER_NAME")+'/'+lcDnFile)

This works great, no delay from reading the file into memory, the username and password can not be viewed in the source, etc.

Anyone know of a simular method to accomplish an upload?