Solved

ws_ftp upload weirdness

Posted on 2015-01-21
2
233 Views
Last Modified: 2015-01-21
I have 2 very simple ws_ftp scripts.  Both scripts upload to the same remote site.  Both scripts are scheduled via Windows Scheduler.  They use the same connection site, the same remote user ID and password, and run under the same local server administrator account. 1 script works and 1 script doesn't. I am stumped and looking for help!

WS_FTP 12 Pro, installed on Windows 2003 server.

Script #1 works correctly, regardless of whether I run it from the WS_FTP scripting utility or run it via the Windows scheduler.

Script #2 works correctly and transfers files if I run it from within the WS_FTP scripting utility.  But when I run it via the Windows Scheduler, the scheduled task starts and the status changes to "Running".  The script file actually opens up in Notepad (why?).  The status continues to say "Running" until I manually close the Notepad windows.  No files are transferred.  Nothing is written to any of the ws_ftp logs.  Windows Event Logs show nothing interesting other than a successful login by the account that runs the scheduled task for ws_ftp.

Script #1 (works correctly)
; Upload script for Axle JPG files, sent to RSS

LOG \\YRKAPP001\APPS\WS_FTP_Files\TransferLog_RSS_Upload.txt

; PROD files MOVES
CONNECT RSS-AxlePics-Upload
ONERROR CONTINUE

LCD \\YRKFPS002\APPS\AxleData\Camera-Rear\ZIPfiles\
POSTXFER PXMOVE \\YRKFPS002\APPS\AxleData\Camera-Rear\ZIPfiles\2015
MPUT HubPics-Rear*.zip
POSTXFER PXOFF

CLOSE

Script #2, does not work correctly
; Upload script for Axle JPG files, sent to RSS

LOG \\YRKAPP001\APPS\WS_FTP_Files\TransferLog_RSS_AQAR_Upload.txt

; PROD files MOVES
CONNECT RSS-AxlePics-Upload
ONERROR CONTINUE

LCD \\YRKAPP001\APPS\AxleReportsAQAR\SQLDB\
MPUT Cleveland*.*

CLOSE
0
Comment
Question by:SaxChick
2 Comments
 
LVL 35

Accepted Solution

by:
Kimputer earned 500 total points
ID: 40562143
Suspect maybe scheduled task maybe giving the error. Can you post both command lines?
0
 

Author Comment

by:SaxChick
ID: 40562161
Ahhh... That was, indeed, the problem.  I had a simple error in the command line for the scheduled task that was failing.  Thanks for the quick response and the right answer!
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Hibernate on windows 10 18 139
Batch File to find and replace a string 15 111
User profile Size Report 3 72
React or Angular? 6 71
This article describes how to set permissions to allow a limited-permissions user to start and stop a particular System Service.   It is always best to give users only the permissions that they need to perform their job, so tweaking particular permi…
INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question