Scripting with FTP and HTTP

Hi All,
To help us with future planning, we would like to get a feel for how many developers are using the FTP and HTTP objects that are available with scripting in CS3 (through webaccesslib). If you are using them could you send me a quick email describing how you use the component? My email address is [email protected]
Thanks in advance.
Alan Morris
Dev Tech Engineer
Adobe Systems

Yeah, this is so aggrevating!
Adobe builds all of these cool ideas, then doesnt test them.
The HTTPConnection object does not do POST at all. I have tried nearly every possibility. The documentation is either way off or the object just does not work. I can see the post in raw form and the POST variables are not coming across.
After working on this for a few hours i thought to myself, hey maybe i should just create a flash pane instead and load the files into it, then have the flash object upload. Well i ran into a big fat wall there too! As it is with patchpanel and bridge, these technologies only accept swf objects. This whole concept of using SWF and crossscripting has a huge flaw. The SWF file's security format does not allow for local file access for doing simple things like upload. If i can't synchronize file data to web based clouds, then i cant do much worth talking about.
I love these products and their possibilities but i have to have the ability to communicate with the world. HTTP is the way!
Also a side note, FTP is an insecure/inflexible solution and looks like a lot more time was spent on this aspect of the scriptable product.
PLEASE HELP ADOBE!!!!!

Similar Messages

  • Ftp and http access over XDB repository is not allowed...

    When I try to execute the following command on a reasonably fresh Oracle 11 installation:
    insert into "XMLTEST" ( "name", "xmlfof" ) values ( 'small', DBMS_XDB.GETCONTENTXMLTYPE('/public/small.xml') );
    -- The schema is correctly registered, the file "small.xml" is in the /public repository folder, the user has every conceivable role and priviledge
    -- http access works fine from a remote location, tried to execute the command on the server and from remote system...
    I get the following error message:
    ORA-31020: Der Vorgang ist nicht zulässig, Ursache: For security reasons, ftp and http access over XDB repository is not allowed on server side ORA-06512: in "XDB.DBMS_XDB", Zeile 1915
    Searching for an answer on the forum didn't produce any concreate explanation... Does anyone have any idea how to solve this problem?

    As it turns out, the XML file contained a reference to a DTD at an external web-site, which caused the problem - it was identical to that described here:
    Re: ORA-31020 when using XML with external DTD or entities
    After removing the reference, everything works perfectly...

  • Slow Connection with FTP and SSH after a migration from 10.3.9 to 10.4.6

    Hi all,
    I just move my server from 10.3.9 to 10.4.6.
    I import all my users and settings.
    When i try to connect to my server using FTP or SSH, the connexion is slow.
    I have to wait arround 45 sec before connecting to the server ( i never wait with the old 10.3.9 )
    ex of connexion + delay
    I enter : ssh myuser@myserverip
    server : Password: ( 26 sec after i hit the return key !! )
    server : Last login: Tue May 9 11:57:03 2006 from XX.XX.XX.XX ( 2 sec after )
    server : Welcome to Darwin!
    It is faster than the first time because the server must store some datas of recent connected users.
    I have the same problem with FTP
    Thx for help

    I have this same problem.
    I'm not sure how to set up or tweak DNS. Could someone point to where this is accomplished?
    I'm not using a DNS server inside our firewall because I'm not sure how it works. I have DNS service turned off on the OS X Server.

  • Can BPM communicate with FTP and JDBC Adpater??

    Hello All Experts,
    I have seen a scenario FILE TO RFC TO FILE using BPM, where BPM (integration process) is having a Synchronous communication with RFC and then sends the response to FILE.
    SO i just want to ask, can i use other adpater(FIle or JDBC) in BPM for synchronus communication
    Plz help.
    Thanks and regards,
    Vanita Jain

    Raj,
    Let me explain my scenario clearly...
    I just want to transfer a selected records from database to other system as a file and once that file is gets created than only i have to update the file-name field in database otherwise not. because there may be case when file is not gets created on other system.
    so i had created a BPM which receives a records from JDBC adpater asynchronously and then send it to other system for file creation synchronously and then BPM sends a response to JDBC adapter for file name update.
    But my scenario is not working, as you said FTP adpater can't be use for synchronous communication.
    as Abhishek said i can use Transport acknowledgement option,but am not aware of how to implement this.
    Plz help and give example(if possible) ........if you can.
    Regards,
    Vanita

  • UNIX scripting with id and password in clear text

    Hi
    I have a shell script to connect and do several PLSQL.
    how can the script doing it without the ID password in cleartext?
    i.e.
    #!/bin/sh
    conn id/password ....

    If you create an operating system authenticated user, you connect to the database without a password, i.e.
    sqlplus / is sufficient (assuming the script is running as the appropriate operating system user). Tom Kyte talks about this here
    http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:1477204811604
    There are examples of using DBMS_SCHEDULER to invoke operating system scripts on Tim Hall's site
    http://www.oracle-base.com/articles/10g/Scheduler10g.php
    Justin

  • Dyanamic table is SAP Script with horizontal and vertical lines

    Hi,
    I need to display the data of the table in the SAP script which is having both horiziontal and vertival lines.
    the out put needs to looks as it in Excel...where there are multiple records with 5 fixed coulmns each seprated from one another by horizonalt and vertical lines..
    I thinking about useing the Box with XPOS and YPOS who value changes dynamicaaly..
    But again as the number of pages might be more than one..i think there will issues,
    Can you  let me know how to proceed in SCRIPT ,,,, where the number of records might vary ..and also ..it might continue to second page..
    Regards
    Senthil

    well it is possible but quite tricky.
    All you got in SAP-SCRIPT to achieve this is the BOX-Statement.
    The BOX statement works with variables for XPOS, YPOS, WIDTH and HEIGHT. what you need to do is:
    - calculate those variables during runtime
    - add box-statements with those variables.
    to calculate those variables you need to count used lines and so on. i hope i showed you a way, rest is a lil brainwork then.
    regards

  • Creating an executable script with vi and chmod

    I have some after market packages I want to set up in my MBP Mavericks. I create a script file in iv called runada. It adds some directories to the global $PATH variable. I then change rights on the script, runada, with 'chmod a+x runada' so it becomes an execuitble. But it fails when I call runada within a shell terminal. I have seent his work in Debian I think.

    As a guess: PATH needs to be exported if you want that setting to persist after the script modifies it and exits, or you'll need to "." or "source" invoke the script.
    In any case, post a reproducer of the bash and somebody here can have a look.
    Using homebrew is another approach to rolling your own packaging (if that's where you're headed here), and there are various alternatives to that.

  • Write/Read cluster with ftp and datasocket

    I try to save a cluster to a file on my RT-target from my host machine via ftp and datasocket. I can use the DS examples between host and target but when I connect a cluster to either DS Write or DS Read the VI stops with error 42 (Generic error). The help for DataSocket does not mention any constriction concerning the data type. Is this a bug or a feature?
    I found a workaround by saving the cluster to a local file and transferring this to the RT-target with FTP-VI's but the DataSocket solution would be much simpler.
    LabVIEW 8.6.1
    Attachments:
    clusterDS.jpg ‏24 KB
    Error42.jpg ‏12 KB

    Hi,
    I found the reason for the generic error: the file to write or read has to have a extension "dsd" (or "wav"), otherwise  you'll get the error. With a .dsd extension I was able to save the cluster. I have not yet managed to read it back but at least DS Read does not abort with the generic error. Interesting thing is if you use an other extension than dsd when writing, an empty file is actually created on the target system.
    Attachments:
    DSWriteCluster.vi ‏7 KB
    DSReadCluster.vi ‏10 KB

  • FTP and HTTP large file ( 300MB) uploads failing

    We have two IronPort Web S370 proxy servers in a WCCP Transparent proxy cluster.  We are experiencing problems with users who upload large video files where the upload will not complete.  Some of the files are 2GB in size, but most are in the hundreds of megabytes size.  Files of sizes less than a hundred meg seem to work just fine.  Some users are using FTP proxy and some are using HTTP methods, such as YouSendIt.com. We have tried explict proxy settings with some improvment, but it varies by situation.
    Is anyone else having problems with users uploading large files and having them fail?  If so, any advice?
    Thanks,
       Chris

    Have you got any maximum sizes set in the IronPort Data Security Policies section?
    Under Web Security Manager.
    Thanks
    Chris

  • Oracle manager can't imports from ftp and http servers

    My VM Manager is "Oracle VM Manager 3.2.8.733 my agent in the Oracle VM server is ovs-agent 3.2.6-b729. The connection between my manager and my server is done but the manger can't downloads the ovm templates and ISOs from both a ftp server and a http server that I can connect and download from it with a browser. the event status of import is In progress since two days. while I look up in my repository a temporary directory is created and the download is doing but it was deleted after that. thaks to help me

    My VM Manager is "Oracle VM Manager 3.2.8.733 my agent in the Oracle VM server is ovs-agent 3.2.6-b729. The connection between my manager and my server is done but the manger can't downloads the ovm templates and ISOs from both a ftp server and a http server that I can connect and download from it with a browser. the event status of import is In progress since two days. while I look up in my repository a temporary directory is created and the download is doing but it was deleted after that. thaks to help me

  • Scripting with FCP and compressor

    Hi folks,
    I run a video transfer business, therefore, my projects are fairly streamlined in terms of the processes.
    After beginning a FCP export to a .mov file so i can compress into a m2v and aiff with bitvice, can i write a script to automatically take the aiffs, launch compressor, choose my created preset ac3 setting and create the ac3s?
    I ask b/c i maximize my time by transferring/editing/colour correcting during the day and i run my files overnight. Most times, the files are done b/n 5 AM and 7 AM, but then my lovely macs sit there, unused for a few hours. I would love to have them grab the necessary files and go to work?
    I would never ask if this is possible on a peecee, but i wouldn't put it past a Mac
    I'm on FCP 4.5, with G5 dually 2.0 and a g4 dual 1.25 MDD.
    thanks in advance for answering either way,
    Keebler
    G4MDDdual1.25; G5 dual 2.0   Mac OS X (10.3.9)  

    i think you could do this quite easily, the basic steps would be:
    in the Finder, create a Folder on the Desktop called "Converted Files" or something like that
    in Compressor, choose your preset and set the Destination to your "Converted Files" folder ... then save this setup as a Droplet
    now create a "Folder Action" applescript, to open any files contained in the folder with your Droplet, and attach the action to your "Converted Files" folder
    then export your aiff's to this folder and the compressor action will run automagically
    you might also want to check out Automator in your Aplications folder

  • MAC AE plugin: Bundle scripts with plugin and access for execution

    Hi there,
    as the title says I'm trying to execute some scripts from my plugin but I can't figure out how to get the plugins location to access the bundled resources. I'm pretty new to the  plugin development so can sombody please point me in the right direction?
    I found in the SDK guide the PF_GET_PLATFORM_DATA but there is no example that is using it.
    Thanks in advance
    Fabian

    Hi shachar thanks for your help,
    I tried reading a text file that is bundled with the .plugin package without path but I had no luck. The structure within the package is like this (tree looks better with monospaced fonts):
    ├── Info.plist
    ├── MacOS
    │   └── EXECUTABLE
    ├── PkgInfo
    └── Resources
        ├── EXECUTABLE.rsrc
        ├── bundle-test.txt
        ├── example.txt
    And my code is like this:
                    string line;
                    string alllines("");
                    ifstream myfile ("../Resources/example.txt");
                    if (myfile.is_open()){
                        while ( myfile.good() ){
                            getline (myfile,line);
                            cout << line << endl;
                            alllines+=line;
                        myfile.close();
                        suites.UtilitySuite3()->AEGP_ReportInfo( S_my_id,alllines.c_str());
                    }else{
                        cout << "Unable to open file";
                        suites.UtilitySuite3()->AEGP_ReportInfo( S_my_id,"Error Reading file");
    So my result is always my error reading file.
    I also tried using getcwd like this:
                    char cwd[256];
                    if (chdir("/tmp") != 0)
                        perror("chdir() error()");
                    else {
                        if (getcwd(cwd, sizeof(cwd)) == NULL)
                            perror("getcwd() error");
                        else
                            printf("current working directory is: %s\n", cwd);
    But ther i get a current working directory as: /private/tmp
    So how did you manage to read files bundled with your plugin? Magic?
    Maybe there is something else I missed.
    - I added the files to my source directory.
    - I went in xcode rightclick onto the project and selected "add files to PROJECTNAME"
    - in the TRAGETS Tab for the project the file is under "Copy Bundle Resources"
    - When building the plugin the file I want to read is within the .plugin package
    What else could go wrong?
    I could also create a script that escapes my script and creates an .h file with a string where I could read from, but this would feel like giving up and I'm not there yet.
    I appriciate your help a lot. (to everyone and specially to shachar)
    Cheer
    Fabian

  • Script with find and ex

    i want to run a utility from the terminal for all the files in a directory. The utility has an input file name and output file name as parameters. The filenames have spaces and the utility is not taking the names. Can someone help me with a script where i can do the following
    find . -name *.opus
    for each of the files found above I need to run this command
    opusdec "name of the file form above find" "name of the file from above find with an extention wav"
    I wrote this script but it is not working
    ListOfFiles=`find .  -name *.opus
    for i in $ListOfFiles
    do  
        optfile="${i}.wav"
        ./opusdec $i outfile
    done
    thanks for your help.

    Looks like you're missing a backtick
         Change ListOfFiles=`find .  -name *.opus to ListOfFiles=`find .  -name *.opus`
    $() is preferred.  Try
         ListOfFiles=$(find .  -name *.opus)

  • [SOLVED] wget problem with ftp ( and symlink )

    Hi,
    I tried to download some file recursively from ftp, but It seems that wget can't figure a file under symlinks folder by itself.
    At first I use
    wget -r -N ftp://ftp.ncbi.nih.gov/snp/database/organism_schema
    (All folders in organism_schema are symlink one, and I want file underneath them)
    but this download only symlink folder but not a file underneath it. I tried --retrv-symlink but it gave me an error
    preecha@preecha-laptop:~/dbsnp$ wget -r -N --retr-symlink ftp://ftp.ncbi.nih.gov/snp/database/organism_data | tee error.txt
    --2009-01-26 11:07:52-- ftp://ftp.ncbi.nih.gov/snp/database/organism_data
    => `ftp.ncbi.nih.gov/snp/database/.listing'
    Resolving ftp.ncbi.nih.gov... 130.14.29.30
    Connecting to ftp.ncbi.nih.gov|130.14.29.30|:21... connected.
    Logging in as anonymous ... Logged in!
    ==> SYST ... done. ==> PWD ... done.
    ==> TYPE I ... done. ==> CWD /snp/database ... done.
    ==> PASV ... done. ==> LIST ... done.
    [ <=> ] 843 5.24K/s in 0.2s
    2009-01-26 11:08:02 (5.24 KB/s) - `ftp.ncbi.nih.gov/snp/database/.listing' saved [843]
    Removed `ftp.ncbi.nih.gov/snp/database/.listing'.
    --2009-01-26 11:08:02-- ftp://ftp.ncbi.nih.gov/snp/database/organism_data/organism_data
    => `ftp.ncbi.nih.gov/snp/database/organism_data/.listing'
    ==> CWD /snp/database/organism_data ... done.
    ==> PASV ... done. ==> LIST ... done.
    [ <=> ] 4,955 2.14K/s in 2.3s
    2009-01-26 11:08:06 (2.14 KB/s) - `ftp.ncbi.nih.gov/snp/database/organism_data/.listing' saved [4955]
    Removed `ftp.ncbi.nih.gov/snp/database/organism_data/.listing'.
    --2009-01-26 11:08:06-- ftp://ftp.ncbi.nih.gov/snp/database/organism_data/arabidopsis_3702
    => `ftp.ncbi.nih.gov/snp/database/organism_data/arabidopsis_3702'
    ==> CWD not required.
    ==> PASV ... done. ==> RETR arabidopsis_3702 ...
    No such file `arabidopsis_3702'.
    --2009-01-26 11:08:07-- ftp://ftp.ncbi.nih.gov/snp/database/organism_data/bee_7460
    => `ftp.ncbi.nih.gov/snp/database/organism_data/bee_7460'
    ==> CWD not required.
    ==> PASV ... done. ==> RETR bee_7460 ...
    No such file `bee_7460'.
    --2009-01-26 11:08:08-- ftp://ftp.ncbi.nih.gov/snp/database/organism_data/bison_9901
    => `ftp.ncbi.nih.gov/snp/database/organism_data/bison_9901'
    ==> CWD not required.
    ==> PASV ... done. ==> RETR bison_9901 ...
    No such file `bison_9901'.
    --2009-01-26 11:08:10-- ftp://ftp.ncbi.nih.gov/snp/database/organism_data/blackbird_39638
    => `ftp.ncbi.nih.gov/snp/database/organism_data/blackbird_39638'
    ==> CWD not required.
    ==> PASV ... done. ==> RETR blackbird_39638 ...
    No such file `blackbird_39638'.
    --2009-01-26 11:08:11-- ftp://ftp.ncbi.nih.gov/snp/database/organism_data/bonobo_9597
    => `ftp.ncbi.nih.gov/snp/database/organism_data/bonobo_9597'
    ==> CWD not required.
    ==> PASV ... done. ==> RETR bonobo_9597 ...
    No such file `bonobo_9597'.
    Did I do something wrong here ? Any suggestion would help a lot. Thanks !
    Last edited by Tg (2009-01-27 04:00:46)

    Xyne wrote:
    wget man page wrote:When --retr-symlinks is specified, however, symbolic links are
           traversed and the pointed-to files are retrieved.  At this time,
           this option does not cause Wget to traverse symlinks to directories
           and recurse through them, but in the future it should be enhanced
           to do this.
    I think I've found a good workaround:
    #!/bin/bash
    URL=$1
    DIRPATH=$(echo "$URL" | sed s-ftp://--)
    BASEURL=$(echo "$DIRPATH" | cut -d '/' -f1)
    wget -r -N $URL
    SYMLINKS=$(find $DIRPATH -type l)
    for SYMLINK in $SYMLINKS
    do
    TARGET=$(readlink $SYMLINK)
    if [ "${TARGET:0:1}" == "/" ]
    then
    URI="ftp://$BASEURL/$(readlink $SYMLINK)"
    else
    URI="ftp://$DIRPATH/$(readlink $SYMLINK)"
    fi
    echo "retrieving $URI"
    wget -r -N $URI
    # ./wget_symlinks $URI
    done
    You can save that as "wget_symlinks", then
    chmod 744 wget_symlinks
    ./wget_symlinks ftp://ftp.ncbi.nih.gov/snp/database/organism_schema
    I didn't download everything so I don't know if there are further symlinks. If there are, comment out the line "wget -r -N $URI" and uncomment "# ./wget_symlinks $URI". It should download everything recursively and then exit.
    I never though of using bash script  (never wrote bash more than 5 line). I guess I'll try that, thanks alot.
    Last edited by Tg (2009-01-26 07:27:56)

  • Problem for scheduling with FTP and default FTP destination parameters

    <span class="postbody">Hi, <br />  <br /> My version of BOXI is Release 2 SP2 <br />  <br /> I want schedule a report with default parameters found in the FTP destination of the Job Server (in my case: DesktopIntelligenceJobServer). <br />  <br /> I have using a sample found in BO but it&#39;s work with specific parameter. <br />  <br /> It&#39;s on java but can be changed on JSP: <br />  <br />  <br /> </span><table border="0" cellspacing="1" cellpadding="3" width="90%" align="center"><tbody><tr>        <td><span class="genmed"><strong>Code:</strong></span></td>     </tr>     <tr>       <td class="code"> <br /> // before is the query for find the report in oObjects <br />          IInfoObject infoObject = (IInfoObject)oObjects.get(0); <br />          ISendable obj = (ISendable)infoObject; <br />           <br />          IDestinationPlugin destinationPlugin = (IDestinationPlugin)iStore.query("SELECT TOP 1 * " +  <br />                            "FROM CI_SYSTEMOBJECTS " +  <br />                    "WHERE SI_NAME=&#39;CrystalEnterprise.Ftp&#39;").get(0); <br />  <br />          //Retrieve the Scheduling Options and cast it as IFTPOptions <br />          //This interface is the one which allows us to add the file location <br />          //for the scheduling <br />          IFTPOptions ftpOptions = (IFTPOptions) destinationPlugin.getScheduleOptions(); <br />          ftpOptions.setServerName("myip"); //FTP Server name or IP address <br />          ftpOptions.setPort(21); //Port number of FTP server...default is 21 <br />          ftpOptions.setUserName("gcr"); //can either use an account or logon <br />          ftpOptions.setPassword("mypass"); <br />           <br />          List destFiles = null; <br />          destFiles = ftpOptions.getDestinationFiles(); <br />          destFiles.add( "/BOFTP/MyReport.pdf");                 <br />          IDestination destination = obj.getSendToDestination();    <br />          destination.setFromPlugin(destinationPlugin); <br />           <br />          iStore.schedule(oObjects); <br /> </td>     </tr></tbody></table><span class="postbody"> <br />  <br /> If I comment some line for using defulat parameters, it&#39;s not work correctly : <br />  <br /> </span><table border="0" cellspacing="1" cellpadding="3" width="90%" align="center"><tbody><tr>        <td><span class="genmed"><strong>Code:</strong></span></td>     </tr>     <tr>       <td class="code"> <br /> // before is the query for find the report in oObjects <br />          IInfoObject infoObject = (IInfoObject)oObjects.get(0); <br />          ISendable obj = (ISendable)infoObject; <br /> /* begin comment          <br />          IDestinationPlugin destinationPlugin = (IDestinationPlugin)iStore.query("SELECT TOP 1 * " +  <br />                            "FROM CI_SYSTEMOBJECTS " +  <br />                    "WHERE SI_NAME=&#39;CrystalEnterprise.Ftp&#39;").get(0); <br />  <br />          //Retrieve the Scheduling Options and cast it as IFTPOptions <br />          //This interface is the one which allows us to add the file location <br />          //for the scheduling <br />          IFTPOptions ftpOptions = (IFTPOptions) destinationPlugin.getScheduleOptions(); <br />          ftpOptions.setServerName("myip"); //FTP Server name or IP address <br />          ftpOptions.setPort(21); //Port number of FTP server...default is 21 <br />          ftpOptions.setUserName("gcr"); //can either use an account or logon <br />          ftpOptions.setPassword("mypass"); <br />           <br />          List destFiles = null; <br />          destFiles = ftpOptions.getDestinationFiles(); <br />          destFiles.add( "/BOFTP/MyReport.pdf");                 <br />          IDestination destination = obj.getSendToDestination();    <br />          destination.setFromPlugin(destinationPlugin); <br /> end comment */          <br />          iStore.schedule(oObjects); <br /> </td>     </tr></tbody></table><span class="postbody"> <br />  <br />  <br />  <br /> If my report is set to SMTP by default, the scheduling failed and want using SMTP protocol <br />  <br />If my report is set to FTP by default, the scheduling work. I want forcing the default FTP in JobServer in the code but i don&#39;t find this. <br /> I don&#39;t find any explain in the SDK of BOXI. <br /> could you have a solution for this ? <br />  <br /> Thank you <br /> gcr</span>

    I've found a solution ....

Maybe you are looking for

  • Error in User integration with SRM

    Hi Everyone, We are using SRM5.0 and Classic Scenario. We have a issue with user integration. One user for whom i am trying to integrate into SRM system but it is not integrating properly. In USERS_GEN, I am getting error as ' Assignment : Business p

  • Webutil_file.file_size

    Hi, i tried to find the file size using webutil_file.file_size, its is giving the file size for small files like *98 KB*,after that am getting error like 'FRM-40735:WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-06502'.Please help me reso

  • How do I completely uninstall Adobe Updater?

    Greetings. I have been trying to completely remove Adobe Updater from my computational machine, but I'm having troubles as it seems to be stuck in there like a gadfly on a horse' arse. I have uninstalled some very, very annoying toolbars in my time,

  • Mac Mini Voice Commands

    Does anyone use the Mac Mini voice recognition capabilities? I'm thinking about picking up a usb mic and trying them out, but I don't want to waste my time if it's a really lame feature. Please let me know. Also, I'm interested in what voice commands

  • MI414WR Rev D Problems, I think

    hey All- As of mid-February we've been experiencing some annoying issues with our wireless service via the MI414WR Rev D router. From what I can gather, it doesn't look like the signal gets dropped as I've never seen a 'disconnected' message on any o