Document Updates in a folder via FTP considered Publish Points?
Hello,
We currently have a website that is deployed via IIS that we are planning to move to Azure Web Services.
This web contains a folder in the web site directory that contains files and documents for users to download. The site itself contains code that manages the files, and presents specific files to specific users.
Throughout the month, these files and document gets updated (additions as well as replacements); even though the website does not get updated. Users use FTP to transfer files into current folder on the IIS server.
The issue we are facing:
My concern is that updating documents in this folder via FTP does not create a publish point (and considered as dynamic changes) and if the site is re-deployed or scaled, the document changes are not picked up.
Can anybody confirm that: If we use FTP to update documents in this folder, Azure Web Services will recognize this as a Publish Point?
Thank you. Your help is very much appreciated.
PCR.
Thanks for the reply.
I confirmed that we are using Azure Websites.
We had a previous website with a similar situation where the website contained a folder with documents (pdf, doc, and xls). Files were added into this folder periodically. Then one day we noticed that a number of files were missing. When
we researched the problem, we were led to believe that something on the back end moved the website to a different server, and used a previous instance of the website.
Our web development manager thought he found an article that stated that we should not keep dynamic files within the website structure.
It would be great if this is no longer the case (or that we are mistaken in our interpretation).
Similar Messages
-
Download folder via ftp?..
Hi.
Please, help me in such question:
I have to write application that connect to server via FTP (hm.. may be not only FTP if you can suggest another way..), then download special folder (I know folder's name), and then delete this folder on server.
How can I make it?
May be, you can give an example? :)I assume by your question you haven't searched.
http://www.google.com/search?hl=en&ie=ISO-8859-1&q=%2Bjava+%2Bftp
If I'm wrong, please post some code and let us know what your specific problem is. -
New update, can't upload via ftp
Just updated muse, whem i'm trying to upload my site using the built in ftp-client it stops uploading at the first picture, any idea what I should do?
Hi,
Could you please to export the site as html and upload via any third party FTP client, and see if that works, -
I have an httpdocs folder and I want to update files to this folder via ftp from my jsp pages, anyone has some class or Bean that would do the trick?
RegardsI have a bean, FTPBean (and a mating FTPException class) that will work for you. It's got Javadoc comments so it should be pretty easy to figure out.
This code is OLD (I mean like 10 years old) and is based on another older piece of code (I believe it was named Linlyn or something like that) that was floating around for YEARS.
There's quite a bit of code so pasting here probably isn't a real good idea. I've gone ahead and placed a ZIP file with the two classes in it at http://www.lamatek.com/documents/FTP.zip. They're packaged in a net.foamtapes.beans package, feel free to do whatever with them, repackage, modify, whatever.
HTH. -
I'm unable to upload via FTP to my GoDaddy hosting account. HELP!!
I followed the steps illustrated in the documentation below
https://helpx.adobe.com/muse/using/uploading-site-third-party-hosting.html#Using%20the%20b uilt-in%20Upload%20to%20FTP%20Host%20functionality
My Adobue Muse hangs up for good 5 minutes and then returns back with error message of invalid User Id and Password. Where as I know my UID and Password for my GoDaddy account.
All, im trying to do is Upload my site pages into www folder via FTP feature but its not working. Its very frustrating.
I even tried adding port 21 after colon e.g. ftp.domain_name.com:21
Please help! -
Publishing Website Updates via FTP
Hi,
I've just published my first iWeb site to an external domain. It's a fairly big site and took a while to upload via FTP due to restrictions in their upload bandwidth (no files larger than 2 meg).
I've just added some additional photos to the photo album page and want to publish the update to the site. Which files do I need to replace on the FTP in order for this change to happen? I figured I'd just replace the 'photos' page folder and the 'photos.html' page file and that this would be sufficient. I can see the new photos in the 'photos' folder on the FTP but the page hasn't updated. What am I doing wrong? Surely I don't have to re-upload all of the iWeb files? Surely I only need to re-upload the files that were amended?
Thanks
SimonThis tutorial may be of help: #2 - Uploading only those published new or newly edited files when using a 3rd party FTP client
OT -
I have published a website with iWeb on MobileMe quite successfully. I purchased a second domain name, and republished the same site on GoDaddy before trying to point my MobileMe website name to the GoDaddy server. I was unable to upload several pictures to the second site, and posted my dilemma here. It was suggested that I try using Cyberduck to publish via FTP, which I did. I was still missing the same images. The error message says that there was a communications error with the FTP server and to try again later. I have been able to upload several more new images to the second domain name just by using iWeb's publish feature.
I want to point my MobileMe website name, www.melissaveres.com to GoDaddy, which is now hosting www.mveres-engraver.com but it will only show the site as it is currently published, with several missing pictures. I have tried to delete the photos in iWeb, bring them back in, and republish but with the same results. I have contacted GoDaddy support, who can only tell me there is no file information for those open (missing) pictures, they have heard of this happening before, but had no information on how or if it was resolved. Anyone know how to get these pictures up before I move from MobileMe?
MelissaBring up the Activity window (Command+Option+A) for you site and check to see what files are missing and where they belong. The URL for the missing files will tell you what folder they should be in.
Then publish you website to a folder on your hard drive and open it locally with your browser. Check to verify all images and present and the site works as you want. Then you can upload the missing files or folder containing the missing files or the eintire site folder to your GoDaddy account with Cyberduck.
OT -
After updating to Mavericks, I can't seem to open documents in my dropbox folder.
After updating my os to Mavericks, I can't seem to open documents in my dropbox folder. They are just greyed out and I can't even click on them.
Super frustrating.
Help?Select
View ▹ Show View Options
from the menu bar. In the dialog that opens, select
Arrange by: None -
Express Document:Update was terminated while processing the Order via VA02.
Hi,
User was trying to process order for orderlines say for Eg POSNR 20 to 400 for a particular order,He ended up with Express document :Update was terminated error.When i Checked in SM13 for the update termination errors,I got the following error.
VI: 200 Item status (document &, item &) is missing.
I checked the order (POSNR 20 to 400 ) in VBUP table and the entries were missing for this order (Posnr 20 to 400 ).
Appreciate you'r Inputs.
Thanks
Rakesh.Hi,
Can you please send the detail message in express document.
Apps -
Repository event handler doesn't work when inserting an xml-doc via ftp
Hi,
I want to add a 'schemaLocation'-attribute to an XML-document when I load it in the repository. Therefore, I use the precreate-repository event and created a Repository Event Handler (see code extract below).
Everything works fine if I type the following code in SQL Plus:
Declare
v_return BOOLEAN;
Begin
v_return:=DBMS_XDB.createresource('/public/xml/test.xml', XMLType(bfilename('XMLDIR', 'test.xml'),nls_charset_id('AL32UTF8')));
end;Unfortunately, when I try to insert an XML-document via ftp into the /public/xml folder it doesn´t work as expected and no 'schemaLocation'-attribute is added to the new resource.
What's the reason for this strange behavior and how can I solve it?
For your information: I use the Oracle Database 11g Enterprise Edition Release 11.2.0.1.0
Thank you very much for your help!!!
Repository Event Handler code extract:_
create or replace
PACKAGE BODY schemalocation AS
PROCEDURE handlePreCreate (eventObject DBMS_XEVENT.XDBRepositoryEvent) AS
XDBResourceObj DBMS_XDBRESOURCE.XDBResource;
var XMLType;
l_return BOOLEAN;
l_xmldoc dbms_xmldom.DOMDocument;
l_docelem dbms_xmldom.DOMElement;
l_attr dbms_xmldom.DOMAttr;
c1 clob;
node dbms_xmldom.DOMNode;
txid varchar2(100);
dDoc DBMS_XMLDOM.DOMDocument;
nlNodeList DBMS_XMLDOM.DOMNodeList;
BEGIN
XDBResourceObj := DBMS_XEVENT.getResource(eventObject);
dbms_lob.createTemporary(c1,TRUE);
var:=DBMS_XDBRESOURCE.getcontentxml(XDBResourceObj);
l_xmldoc := dbms_xmldom.newDOMDocument(var);
l_docelem := DBMS_XMLDOM.getDocumentElement(l_xmldoc);
------ add schemaLocation attribute
l_attr := DBMS_XMLDOM.createAttribute(l_xmldoc, 'xsi:schemaLocation');
DBMS_XMLDOM.setValue(l_attr, 'urn:iso:std:iso:20022:tech:xsd:sese.023.001.01 http://www.test.com/Testswift.xsd');
l_attr := DBMS_XMLDOM.setAttributeNode(l_docelem, l_attr);
DBMS_XMLDOM.WRITETOCLOB(l_xmldoc, c1);
------- get the value of the TxId-tag
dDoc := DBMS_XMLDOM.NEWDOMDOCUMENT(c1);
nlNodeList := DBMS_XMLDOM.GETELEMENTSBYTAGNAME(dDoc, 'TxId');
node := DBMS_XMLDOM.ITEM(nlNodeList, 0);
txid:= dbms_xmldom.getnodevalue(dbms_xmldom.getfirstchild(node));
l_return:=DBMS_XDB.createresource('/public/ok/'||txid||'.xml', XMLType(c1));
END;Marco,
Here's an example of the problem :
create or replace package handle_events
as
procedure handlePreCreate(p_event dbms_xevent.XDBRepositoryEvent);
end;
create or replace package body handle_events
is
procedure handlePreCreate (p_event dbms_xevent.XDBRepositoryEvent)
is
XDBResourceObj dbms_xdbresource.XDBResource;
doc XMLType;
res boolean;
begin
XDBResourceObj := dbms_xevent.getResource(p_event);
doc := dbms_xdbresource.getContentXML(XDBResourceObj);
select insertchildxml(
doc
, '/root'
, '@xsi:schemaLocation'
, 'urn:iso:std:iso:20022:tech:xsd:sese.023.001.01 http://www.test.com/Testswift.xsd'
, 'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"'
into doc
from dual;
res := dbms_xdb.CreateResource('/public/xml/result.xml', doc);
end;
end;
declare
res boolean;
begin
res := dbms_xdb.CreateFolder('/public');
res := dbms_xdb.CreateFolder('/public/tmp');
res := dbms_xdb.CreateFolder('/public/xml');
end;
declare
res boolean;
resconfig xmltype;
my_schema varchar2(30) := 'DEV';
resconfig_path varchar2(300) := '/public/ResConfig.xml';
resource_path varchar2(300) := '/public/tmp';
begin
resconfig := xmltype(
'<ResConfig xmlns="http://xmlns.oracle.com/xdb/XDBResConfig.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/xdb/XDBResConfig.xsd http://xmlns.oracle.com/xdb/XDBResConfig.xsd">
<event-listeners set-invoker="true">
<listener>
<description>My event handler</description>
<schema>'||my_schema||'</schema>
<source>HANDLE_EVENTS</source>
<language>PL/SQL</language>
<events>
<Pre-Create/>
</events>
<pre-condition>
<existsNode>
<XPath>/r:Resource[r:ContentType="text/xml"]</XPath>
<namespace>xmlns:r="http://xmlns.oracle.com/xdb/XDBResource.xsd"</namespace>
</existsNode>
</pre-condition>
</listener>
</event-listeners>
<defaultChildConfig>
<configuration>
<path>'||resconfig_path||'</path>
</configuration>
</defaultChildConfig>
</ResConfig>'
res := dbms_xdb.CreateResource(resconfig_path, resconfig);
dbms_resconfig.addResConfig(resource_path, resconfig_path, null);
end;
/Giving the following input XML file :
<?xml version="1.0" encoding="utf-8"?>
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>This works :
SQL> declare
2 res boolean;
3 begin
4 res := dbms_xdb.CreateResource('/public/tmp/test.xml',
5 xmltype(bfilename('TEST_DIR','test.xml'), nls_charset_id('AL32UTF8')));
6 end;
7 /
PL/SQL procedure successfully completed.
SQL> select XMLSerialize(document xdburitype('/public/xml/result.xml').getXML()
as clob indent size = 2) result
2 from dual
3 ;
RESULT
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
urn:iso:std:iso:20022:tech:xsd:sese.023.001.01 http://www.test.com/Testswift.xsd
"/>With the same document loaded via FTP, we get :
SQL> select XMLSerialize(document xdburitype('/public/xml/result.xml').getXML()
as clob indent size = 2) result
2 from dual
3 ;
ERROR:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00283: document encoding is UTF-16-based but default input encoding is not
Error at line 1
no rows selectedand the content looks like :
< ? x m l v e r s i o n = " 1 . 0 " e n c o d i n g = " u t f - 8 " ? >
< r o o t x m l n s : x s i = " h t t p : / / w w w . w 3 . o r g / 2 0 0 1 / X M L S c h e m a - i n s t a n c e " / >As a workaround, I've found that serializing and re-parsing the document solves the problem :
select insertchildxml(
xmltype(doc.getclobval())
, '/root'
, '@xsi:schemaLocation'
, 'urn:iso:std:iso:20022:tech:xsd:sese.023.001.01 http://www.test.com/Testswift.xsd'
, 'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"'
into doc
from dual;
...We then get the expected result after FTP transfer :
SQL> select XMLSerialize(document xdburitype('/public/xml/result.xml').getXML()
as clob indent size = 2) result
2 from dual
3 ;
RESULT
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
urn:iso:std:iso:20022:tech:xsd:sese.023.001.01 http://www.test.com/Testswift.xsd
"/>The workaround also works for the DOM version presented above.
Any ideas? -
Uploading iWeb site to personal domain via FTP client (NOT .MAC)
Hello,
I want to upload my iweb created website to my personal domain, in other words I do not want my domain to point to my .mac address.
I am downloading Cyberduck as my FTP client. Will I just send my whole "site" folder to my public folder at my personal domain? Will it be in the right order? How will I update each day? (Can I set up iWeb so that when I click "publish" it will update my personal domain?)
I was planning on using some wordpress plugins to modify my site. Will this work? I am totally lost, I had no idea I needed so much background info to blog outside of .mac! I guess I just want to design with iweb, and be able to use all the tools of my AN Hosting and wordpress.
Thanks for your help in advance!Will I just send my whole "site" folder to my public folder at my personal domain?
You send the folder created by iWeb which has the same name as you gave your site inside the iWeb app, plus the index.html file which iWeb created alongside that folder.
How will I update each day?
By publishing again to a folder and uploading again via ftp.
(Can I set up iWeb so that when I click "publish" it will update my personal domain?)
No. If iWeb could do that you would not need an ftp program to start with.
I was planning on using some wordpress plugins to modify my site.
No idea, but generally speaking modifying iWeb to add stuff requires manual editing of the html after publishing and redoing it every time you republish. -
Trying to Publish iWeb via FTP to Go Daddy - Directory Error
All,
I put together a pretty straight forward site in iWeb to advertise my customer guitars. Bought the Linux Hosting package from GoDaddy and tried to publish my site, but it continues to give me the error "Directory / Path" not found, and the Test Connection will never verify.
My website is www.phatguitars.com
If I use CUTE FTP for Mac or FileZilla for Mac I can get right into the site, copy and move files, add directories, delete directories, etc, etc. - so FTP and my account login info is correct and tested. . . . . .
In the directory/path I have tried "/", I created a folder called "iweb" and tried "/iweb". I also tried "phatguitars.com/" - nothing is working. I have seen similiar error's all over the Web in my search for a solution, but I don't find any answers. I have the lateest version of iWeb ( checked my Update today just to be sure).
Help - I want to use iWeb and not some other package like Dreamweaver, etc. that will take more time to learn than I really want to spend on this.
Is it possiable to publish to a FOLDER, and then copy the folder via CUTE FTP? If so, what would I need to rename in that folder so it would load properly on GoDaddy
Thanks for your help !Publish to a local folder and then upload with your FTP app.
There are two ways to do this. You can upload the folder produced by iWeb and the external index.html file or do it this way...
http://www.iwebformusicians.com/iWeb/URLs-Favicons.html
Most techs don't seem to understand how iWeb creates sites so they end up not being much help. -
Event_log: "Garbage document update"
I use iAS 9.0.2.0 Webcache in front of Portal 3.0.9.8.2. I allready read note 178424.1 and followed the instructions. The dynamic css-files and the public "Welcome" page of the portal are inserted in the cacheability rules. The Caching of the gifs and jpegs and even dynamic css files seems okay but unfortunately the welcome page itself couldn't get cached:
logs/event_log:
6/Sep/2002:12:48:53 +0200 -- Garbage document update for <my.host.name>:7778/servlet/page?_pageid=63&_dad=elport&_schema=ELPORT&stadt=Gelsenkirchen
The "Welcome" Page is logged in the Apache access-logfile of the portal, but isn't listed in the "Cache content" of Webcaches Admin-Page.
Do you have any clue to find out the reason? What means "Garbage document update" and how can I avoid this? Is there a input-checker in Webcache who labels the content as "garbage" because of not-clean HTML? I could find any hint in the documentation of webcache so please give me some informations about the internals and illuminate the blackbox "webcache".
Many thanks
OliverI was referring to you programatically invalidating this content via e.g a database trigger when the source was updated (involves sending an XML doc to your invalidation port, usually 4000, with info on the content you want to invalidate). It doesn't sound like you are doing this though.
The version of Web Cache that you are using will allow you to set an expiry rule when configuring your cachable rule (in the admin gui). If you have set the expiry rules there, that will cause your Welcome page to be binned. Something else to consider is the "maximum cache size" you have set in your resource limits. If this is set too low for the number of cachable documents being cached, Web Cache will start to bin the older cached docs to make way for the new ones sooner than you may like. -
Hello all,
I have created a document library with a folder inside of it.
By means of a workflow, I could move a document that was in the document library to the folder using the action “update path and name”. Now I need to do the reverse path, that is, using a workflow I’d like to
move the document that is now in the folder, back to the document library but I can´t find the action “update path and name”. Do you have any ideas on how to solve this?
Thanks a lot!
Regards.Hi Juan,
For your issue, you can consider the actions as below:
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Webcache event_log: "Garbage document update for /"
I am getting the following message in the event_log file of webcache, every 5 seconds.
22/Mar/2001:13:57:49 +0100 -- Information: Garbage document update for /
What does it mean, and is there a way to disable it?I was referring to you programatically invalidating this content via e.g a database trigger when the source was updated (involves sending an XML doc to your invalidation port, usually 4000, with info on the content you want to invalidate). It doesn't sound like you are doing this though.
The version of Web Cache that you are using will allow you to set an expiry rule when configuring your cachable rule (in the admin gui). If you have set the expiry rules there, that will cause your Welcome page to be binned. Something else to consider is the "maximum cache size" you have set in your resource limits. If this is set too low for the number of cachable documents being cached, Web Cache will start to bin the older cached docs to make way for the new ones sooner than you may like.
Maybe you are looking for
-
My Firefox keeps on crashing, details listed
My Firefox keeps on crashing; it doesn't seem to matter what I do it seems. I've tried deselecting the "Enable hardware acceleration" for the flash player plugin but it still crashes especially when watching videos on YouTube but it generally happens
-
Configuration of Public Key Authentication Policy for SFTP on OAG 11.1.2.2
Hi I'm working on the configuration of an SFTP server over OAG, using both password and public key authentication. This particular listener need 3 policies: - Password Authentication - Public Key Authentication - File upload Both File upload and pass
-
How do I add a "return to top of page" button/link for long pages?
I've created several long pages within a web site. Is there a button or link that can be used, created, and placed in the middle and/or at the bottom of the pages that will return you to the "top of page" without having to scroll all the way back up?
-
Primary & standby db on same OS plaform but having different OS version
Hi, I have primary & standby database 10.2.0.4 on AIX 5.3 Operating System platform . I would like to Upgrade my Operating System(AIX) of standby databse server from 5.3 to 6.0. Will diffenet Operating System version for primary & standby databases s
-
How to reduce opacity for form only not for controls in c#?
I want to reduce opacity for form only. Not for controls. I reduced opacity for form, but the panel opacity also reduced. I don't want to reduce panel opacity. How to do this? Give me solution in c#.