I'm not sure if this is what you need/want, but I do automated uploads via FoxWeb scripts every morning using FCE4FP from www.marshallsoft.com. It's a small DLL and calling it works fine from all of the FoxWeb 2.0 scripts I use it in. I'm running WinNT 4.0/IIS4, but it would be my guess that it would work fine on Win2K as well. On a side note, I also use their product SEE4FP to send me an email once the upload is complete. That DLL works perfectly as well.
Regards,
DB
Sent by Gary on 02/14/2002 10:47:51 AM:
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?