----- Original Message -----
Sent: Sunday, February 10, 2002 9:20
AM
Subject: [WS_FTP Forum] MPUT
I am using version 7.4, trying to write a script
that one of my accounts can use to upload photos to the server. They
won't use programs like ASPupload since another server they use with a similar
program got hacked royally.
I don't want to give them passwords since last
time I did that they messed up the entire site.
My goal is to install WS_FTP, make the script
hidden and call it from the scheduler but MPUT simply doesn't work. Using FTP
all images upload, I've tired upper case and lower case, reverse \ and / ,
checked and double checked the path, tried it with ASCII text....all produce
the same results
I have tried every conceivable way. Here is
the latest
---script--
TRACE a:/tace.log
LOG a:/ULlog.log
USER
xxxx
PASS yyyy
connect www.myserver.com
MPUT a:\*.jpg
/c21affblowers/tmpEPC/
---ULlog---
Trace Opened 2/10/2002 at 8:01:54 AM
Log
Opened 2/10/2002 at 8:01:57 AM
Finding Host www.myserver.com ...
Connecting to
x.x.x..x
Connected to x.x.x.x in 0.040, Waiting for Server
Response
220-iNET Computers FTP
220-WarFTPd 1.71.02 (Feb 14 2000)
Ready
220-(C)opyright 1996 - 2000 by Jarle (jgaa) Aase - all rights
reserved.
220 Please enter your user name.
Host type (1): Automatic
detect
USER xxxxxx
331 User name okay, Need password.
PASS
(hidden)
230 User logged in.
SYST
215 UNIX Type: L8 Server:
"WarFTPd 1.71.02" OS: "WIN32 (NT 5.0 2195 Pentium II 2-CPU)"
Host type (2):
UNIX (standard)
PWD
257 "/" is current directory.
FAILURE in command
[MPUT a:\*.jpg /c21affblowers/tmpEPC/]
---trace log ---
Processing Line [TRACE a:/tace.log]
Set [TRACE
a:/tace.log] successful
Processing Line [LOG a:/ULlog.log]
Set [LOG
a:/ULlog.log] successful
Processing Line [USER xxxx]
Processing Line
[PASS xxxx]
Processing Line [connect www.myserver.com]
Sending Command QUIT
with Param (null)
Do Cmd returned 257 "/" is current
directory.
Connecting to www.myserver.com Port 21
Connect
returned [257 "/" is current directory.] 0
Processing Line [MPUT a:\*.jpg
/c21affblowers/tmpEPC/]
MPUT return 257 "/" is current directory.
Doing
ONERROR Continue