× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Dan

You want something like
quote rcmd

instead of

quote site

Or
quote site sys

maybe

Run

quote help

to see what is available to you - and some things might still be locked down.

I tried this when connecting to my own IIS ftp server on my PC using loopback - "quote site" by itself returned what I could do with it - and nothing showed up that is useful. SYS wasn't there, for example.

"quote help" wasn't much more encouraging - RCMD was not there.

But other systems have different subcommands - IBM i has a bunch more.

HTH
Vern

On 12/8/2011 3:33 PM, Dan wrote:
We have a production application on our i that uses an FTP script to
transfer a file from a Windows 2003 server to the i on a daily basis. Up
until a few months ago, this process worked fine. Since that time, the
transfer has failed with:
550 The process cannot access the file because it is being used by
another process.
The file is a text file, created by a server process at 9pm each night, and
named using the current timestamp, so older log files remain on the
server. The application that updates the text file is done by 11pm. I can
GET all log files except the one created most recently. This tells me that
the process that updates the text file still has it locked, even 12 hours
later. PLEASE NOTE: I have no control over the application on the server
that is locking the file. So, I am looking for a workaround.

As an experiment, I have a drive letter assigned in Windows for the server
in question. I can see the file and open it with Notepad, but if I attempt
to open it with Wordpad, it fails, showing "The document
X:\log\process.20111207210003.448.txt is in use by another application and
cannot be accessed." However, I can copy the file from Explorer and paste
it, and the new file can be opened by Wordpad. I also verified that FTP
will transfer the new file.

So, I *think* my workaround solution is to change the FTP script to first
copy the file on the server to a new file. I have attempted using QUOTE
and SITE with various parameters to issue the command:
xcopy process.20111207210003.448.txt DanTemp.txt
but I'm getting nothing but errors (500 "command not understood")

Any ideas?

TIA,
- Dan

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.