<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Is an FTP finished?</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/is-an-ftp-finished/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/is-an-ftp-finished/</link>
	<description></description>
	<lastBuildDate>Wed, 19 Jun 2013 09:51:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/is-an-ftp-finished/#comment-82745</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Sun, 24 Oct 2010 09:15:25 +0000</pubDate>
		<guid isPermaLink="false">#comment-82745</guid>
		<description><![CDATA[My first guess would be to call the &lt;a href=&quot;http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=%2Fapis%2Fqp0lror.htm&quot;&gt;Retrieve Object References (QP0LROR) API&lt;/a&gt; to see if any FTP job still has a reference to the file.

CHKOUT might succeed or fail depending on various circumstances at different points in the transfer. And you&#039;ll want to make sure that you issue a CHKIN if CHKOUT succeeds.

Tom]]></description>
		<content:encoded><![CDATA[<p>My first guess would be to call the <a href="http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=%2Fapis%2Fqp0lror.htm">Retrieve Object References (QP0LROR) API</a> to see if any FTP job still has a reference to the file.</p>
<p>CHKOUT might succeed or fail depending on various circumstances at different points in the transfer. And you&#8217;ll want to make sure that you issue a CHKIN if CHKOUT succeeds.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dushan</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/is-an-ftp-finished/#comment-42584</link>
		<dc:creator>dushan</dc:creator>
		<pubDate>Tue, 10 May 2005 12:32:02 +0000</pubDate>
		<guid isPermaLink="false">#comment-42584</guid>
		<description><![CDATA[I&#039;ve seen a simpler method (i.e. without having to use CHKOUT). Request a blank file (signal file) to be sent when transfer is complete and monitor for the signal file. If you see the signal file, it means the sender acknowledges the fact that everything has been transferred as required.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;ve seen a simpler method (i.e. without having to use CHKOUT). Request a blank file (signal file) to be sent when transfer is complete and monitor for the signal file. If you see the signal file, it means the sender acknowledges the fact that everything has been transferred as required.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dasi4jpm</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/is-an-ftp-finished/#comment-42585</link>
		<dc:creator>dasi4jpm</dc:creator>
		<pubDate>Tue, 10 May 2005 09:50:53 +0000</pubDate>
		<guid isPermaLink="false">#comment-42585</guid>
		<description><![CDATA[Sorry that I didn&#039;t clarify that my program is at the receiving end of the FTP transmission. My program will process the file by doing a MOV and then a CPYFRMSTMF. What I am looking for is an easy test in CL to determine that the FTP transmission to the file has completed before I do the copy. 
I have just tried to use the CHKOUT CL commnad and that seems to issue an escape message if the FTP is still taking place. This seems to be what I need. Is anyone familar with the CHKOUT who can verify this usage?]]></description>
		<content:encoded><![CDATA[<p>Sorry that I didn&#8217;t clarify that my program is at the receiving end of the FTP transmission. My program will process the file by doing a MOV and then a CPYFRMSTMF. What I am looking for is an easy test in CL to determine that the FTP transmission to the file has completed before I do the copy.<br />
I have just tried to use the CHKOUT CL commnad and that seems to issue an escape message if the FTP is still taking place. This seems to be what I need. Is anyone familar with the CHKOUT who can verify this usage?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rickme</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/is-an-ftp-finished/#comment-42586</link>
		<dc:creator>rickme</dc:creator>
		<pubDate>Tue, 10 May 2005 09:18:01 +0000</pubDate>
		<guid isPermaLink="false">#comment-42586</guid>
		<description><![CDATA[Are you receiving this file or sending this file?  If you are sending you can check for FTP message 226, which indicates that the transfer is complete.  Before starting the FTP session, override file OUTPUT to a file member on your system (usually libname/QFTPSRC(membername)).  This will cause the output of the FTP session to be written to this member.  Then after the FTP session is over, read the member, and message 226 indicates that the transfer is complete. ]]></description>
		<content:encoded><![CDATA[<p>Are you receiving this file or sending this file?  If you are sending you can check for FTP message 226, which indicates that the transfer is complete.  Before starting the FTP session, override file OUTPUT to a file member on your system (usually libname/QFTPSRC(membername)).  This will cause the output of the FTP session to be written to this member.  Then after the FTP session is over, read the member, and message 226 indicates that the transfer is complete. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: recuyer</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/is-an-ftp-finished/#comment-42587</link>
		<dc:creator>recuyer</dc:creator>
		<pubDate>Tue, 10 May 2005 09:16:16 +0000</pubDate>
		<guid isPermaLink="false">#comment-42587</guid>
		<description><![CDATA[if you can change hte ftp script that put the file (ifs or not), you can just add a APPEND to a file (ISERIE) wich as a trigger on it.

A record with field like this : 
FILE
DATE
TIME
STATUS
PATH (if IFS)


In the trigger :
If STATUS = OK, the Call CL associated withe the FILE...

In this way you can easy manage a history of file transfer...
Just an idea.]]></description>
		<content:encoded><![CDATA[<p>if you can change hte ftp script that put the file (ifs or not), you can just add a APPEND to a file (ISERIE) wich as a trigger on it.</p>
<p>A record with field like this :<br />
FILE<br />
DATE<br />
TIME<br />
STATUS<br />
PATH (if IFS)</p>
<p>In the trigger :<br />
If STATUS = OK, the Call CL associated withe the FILE&#8230;</p>
<p>In this way you can easy manage a history of file transfer&#8230;<br />
Just an idea.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: itaddict</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/is-an-ftp-finished/#comment-42588</link>
		<dc:creator>itaddict</dc:creator>
		<pubDate>Tue, 10 May 2005 08:51:33 +0000</pubDate>
		<guid isPermaLink="false">#comment-42588</guid>
		<description><![CDATA[I read this somewhere and put it in my outlook notes.  I don&#039;t recall the details.

FTP - batch technique
OVRDBF INPUT
OVRDBF OUTPUT
Scan OUTPUT for word
&#039;successful&#039;]]></description>
		<content:encoded><![CDATA[<p>I read this somewhere and put it in my outlook notes.  I don&#8217;t recall the details.</p>
<p>FTP &#8211; batch technique<br />
OVRDBF INPUT<br />
OVRDBF OUTPUT<br />
Scan OUTPUT for word<br />
&#8216;successful&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: baardbasma</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/is-an-ftp-finished/#comment-42589</link>
		<dc:creator>baardbasma</dc:creator>
		<pubDate>Tue, 10 May 2005 06:03:23 +0000</pubDate>
		<guid isPermaLink="false">#comment-42589</guid>
		<description><![CDATA[I dont think you can. One way to avoid this problem is that the sending system put files with an extension eg. &quot;xxxxxx.wrk&quot; and when the file is completely transfered it renames the file to &quot;xxxxxx.rdy&quot;. At your side you only read files that has the &quot;.rdy&quot; extension. By doing it this way you should be confident that you only receives files that are completely transfered. ]]></description>
		<content:encoded><![CDATA[<p>I dont think you can. One way to avoid this problem is that the sending system put files with an extension eg. &#8220;xxxxxx.wrk&#8221; and when the file is completely transfered it renames the file to &#8220;xxxxxx.rdy&#8221;. At your side you only read files that has the &#8220;.rdy&#8221; extension. By doing it this way you should be confident that you only receives files that are completely transfered. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dasi4jpm</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/is-an-ftp-finished/#comment-42590</link>
		<dc:creator>dasi4jpm</dc:creator>
		<pubDate>Tue, 10 May 2005 05:41:50 +0000</pubDate>
		<guid isPermaLink="false">#comment-42590</guid>
		<description><![CDATA[Jonathan,
Thanks for your suggestion and it will be helpful to me. 
However, it slightly misses the point of my question. If a large file is being sent via FTP, how do I know if the entire file has been transferred? 
For example, if I try to copy the FTP target file, and the transfer is still taking place, will I be locked out from doing the copy?]]></description>
		<content:encoded><![CDATA[<p>Jonathan,<br />
Thanks for your suggestion and it will be helpful to me.<br />
However, it slightly misses the point of my question. If a large file is being sent via FTP, how do I know if the entire file has been transferred?<br />
For example, if I try to copy the FTP target file, and the transfer is still taking place, will I be locked out from doing the copy?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/10 queries in 0.036 seconds using memcached
Object Caching 365/371 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-19 10:16:57 -->