Hello,
We use our FTP Server to communicate with the outside world. Our Application puts the files in specific directories and the customers come and pickup the data. Is there a way to catch that event and have some custom code to delete the file as soon as the file is picked-up by the customer.
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
I need to know if the transmission of the data is successful and then delete the file. Is there a way to capture the Event when the file was succesfully transmitted and then the FTP server notifies my code?
Please let me know.
Thanks alot
smovva
tncbbthositg
You could ask them. After they download the file, have them press a button confirming that it has arrived.
Pat
webwoman
There's no way you can tell if the file actually downloaded correctly. It could download, and be corrupted, it could start and they could be disconnected, or they could delete it by mistake before they used it.
You really do need to ask them BEFORE you delete the file. Actually, I wouldn't really delete it, even if they DID verify they'd received it. I'd just move it or set it to hidden, so you could not show it in the links.
People make mistakes, and if it's gone and can't be reconstructed and they really need it, it's going to be YOUR fault. Better to err on the side of caution, and be able to play the savior when they need a miracle. ;-)
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
tncbbthositg
Thanks for agreeing webwoman. I was beginning to think that you just disagreed with anything I said :)
Pat
webwoman
Nah...sometimes it's just not clear what the question is, and there's almost always more than one way (or 10!) to do something.
But here, there's really only one way. ;-)
COBOLdinosaur
This question has been classified abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.
<note>
Unless it is clear to me that the question has been answered I will recommend delete. It is possible that a Grade less than A will be given if no expert makes a case for an A grade. It is assumed that any participant not responding to this request is no longer interested in its final disposition.
</note>
Please let me know.
Thanks alot
smovva