![]() |
|
|
#1 (permalink) |
|
Registered User
Join Date: Feb 2006
Posts: 13
|
FTP from one site to another
I am implenting an automated ordering system where the following happens:
An order is placed via the clients' site and is paid for A CSV file is created upon payment I need to know of an automated way to ftp a file from our site onto the distributors' site. Is this feasible and if so, is it feasible via a Catalyst server? |
|
|
|
|
|
#3 (permalink) |
|
Registered User
Join Date: Feb 2006
Posts: 13
|
I found an FTP script here: http://www.codetoad.com/asp_ftp.asp
I have been able to upload a file using the DOS prompt FTP command from my local machine. This was using the script generated from the above code but when I run it on the server via a webpage, nothing happens. I found these details in the event of the script not working: For those who are having a access denied problem, you need to copy 2 files (ftp.exe and cmd.exe) in a directory where IUSER have execute right. You need to have C:\winnt\system32\wshom.ocx registered to use the WSCRIPT.SHELL object. ' It is registered by default, but is sometimes removed for security reasons (no kidding!). ' You will also need cmd.exe in the path, which again is there, unless the box is locked down. Is the server setup with the above features? |
|
|
|
|
|
#4 (permalink) |
|
Bring me your problems :p
Join Date: Jan 2003
Location: /dev/ahhhhhhhhh
Posts: 3,537
|
Becky,
You wont have access to the command shell for security reasons, I has a quick look for any components that might do this instead but couldn't see anything. Anyone else got an idea?
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|