View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   
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?