Problem downloading files with japanese names

I'm having trouble with Safari and a group-ware used in our company.
The group-ware is Cybozu, made in Japan, and now it is in version 6.
Officially, the only supported browser is MS Internet Explorer versions
5 and above (should be there something like that? I though it was
supposed to support ANY browser since that's the MAJOR selling point
for browser-based group-ware solutions...). And more: it seems that
support for Macintosh is non-existent.
Since the Panther upgrade, me and my colleagues can't download files
whose names are in japanese and that are stored in or sent to us by the
group-ware . We are working in a telecommunications company (here in
Japan), but our team focuses on media and advertising, and so are the
only ones having Macs (in an almost exclusively Windows environment).
To add to the complexity, our target market is brazilians who live in Japan
(trust me, there's a lot of them!). So our Macs have to deal also with
the accentuated characters of the Brazilian Portuguese language, english
AND japanese.
In a way, the Mac is the ONLY successful solution to such an environment.
Since administrative and other mundane tasks don't require dealing with
multilingual files, the vast majority of the employees use Windows (nothing
new there, eh?). The problem only starts to affect us when we request help
to the System Administrators. I called on them about this problem but it
seems that we are deep under in the priorities list.
So I present the problem here:
-When clicking in the link:
•With Firefox, Netscape and Explorer, there is no problem.
•With Safari, I am sent to the login window of the group-ware.
-I figured out that the problem is with the way the URLs are presented.
Let's say that the file I want to download is <a href="http://www.geocities.jp/claytonshima/Imagem1.gif>this</a>.
• <a href="http://www.geocities.jp/claytonshima/Imagem2.gif>Here's a sample of a good URL (in Firefox, Netscape and Explorer).
• http://www.geocities.jp/claytonshima/Imagem3.gif>And this is the URL in Safari.
So it seems that the problem is the way that Safari handles the japanese
characters in the URL.
Any insights on this?
Thanks in advance!
Clayton Shima
PS: Edited and included the link to the images because I couldn't figure out how to write in japanese here in these discussion boards.....

Hi, thanks for the reply.
The problems occurs when I click on the link AND when I copy/paste the URL.
In fact, I realized that something wrong was happening to the way Safari
handles the urls after I copied and pasted.
We are using Tiger, but the problem started to appear when we upgraded to
Panther. In Jaguar there were no problems - or is it the other way around?
I can't remember, but put the older in this place and I guess you can figure it
out, sorry!
Doing what you suggested (turning text encoding to UTF-8) solves the
problem of downloading, but when turning the encoding, all the text in the
page gets weird and unreadable. Even so, clicking in the link downloads the
file, but the file gets saved with its name all messed (the file name extension
are OK though, the same as files which file names include roman alphabet
letters preserve the integrity of such letters). This can be a temporary
workaround, but to rename each downloaded file can get quite painful if
downloading lots of files!
I have already tried changing the system language between the three ones
we most use (english, japanese and brazilian portuguese), with and without
system restart, in all the possible text encoding combinations, with no avail.
Is there the possibility that this is a Safri bug? Since the links to the files are
generated by the server running the groupware, is it possible that the
group-ware is the culprit? One could think that URL formatting is a pretty
standard thing....
ありがとうございます! <- japanese test in UTF-8

Similar Messages

  • Problem saving files with different name with DFS installed

    I have a server that I have DFS installed and running on. This appears to work fine. There is one problem that I have encountered though:
    On a share I have a folder that is not inheriting rights from it parent object. This works fine with DFS. When I create a new word document and try to save it in this folder with a different name other than the default (doc1.doc) I get an error saying that the user doesn't have permission, but I can save it as the default name of doc1.doc. I can then re-name the file to what I want from windows explorer, open it up in word, work on it and save it again. Even with the new file name I can't do a save-as and save it as a different file.
    All the other folders under the share that inherit rights from the parent folder work.
    eg save-as in \\server\share\folder or below works
    save-as it in \\server\share\no_inheritance or below does not work
    Anyone have any ideas?

    Originally Posted by ndean
    I have a server that I have DFS installed and running on. This appears to work fine. There is one problem that I have encountered though:
    On a share I have a folder that is not inheriting rights from it parent object. This works fine with DFS. When I create a new word document and try to save it in this folder with a different name other than the default (doc1.doc) I get an error saying that the user doesn't have permission, but I can save it as the default name of doc1.doc. I can then re-name the file to what I want from windows explorer, open it up in word, work on it and save it again. Even with the new file name I can't do a save-as and save it as a different file.
    All the other folders under the share that inherit rights from the parent folder work.
    eg save-as in \\server\share\folder or below works
    save-as it in \\server\share\no_inheritance or below does not work
    Anyone have any ideas?
    I have the same problem... how did you solve it?
    Thanks!
    Andres, Blogger

  • Problem downloading files with Linksys E4200

    I have been using my router (Linksys E4200v1) with no problem for the last 6 months, but suddenly in the last couple of weeks the problem started, every time I download a file through my router it gets corrupted, however when I download it directly through the modem it download just fine.
    I tried to reset the router and used it as a bridge but the problem is still there.
    Any ideas how to fix this?
    Solved!
    Go to Solution.

    Hi Raman91,
    I am assuming that you are downloading a large file. The router inspects each data that goes inside the network. If the file is too big, the router might have a hard time processing it. To prevent this from happening, you can lower down the MTU size in the router settings. It would cut big chunks of data into pieces that the router could easily process. If you are using a cable connection, lower it down to 1450. If it is DSL, lower it down to 1392.
    How to change MTU

  • Problem in loading an external file with unicode name

    Hi,
    I am working on a project which involves loading of an
    external file with unicode name for ex:
    "插入音乐.mp3
    ,插入音乐.jpg". These unicode files are
    loaded successfully when I play/publish the movie with flash player
    alone.
    But when the movie is embedded in to HTML file, it is failing
    to load files with unicode name. this works fine with English name.
    is it a bug? if not pls help.. on this issue
    Thx

    what is your code? so we can get clear picture.

  • While saving multiple attachments from mail, files with same name are added and not replaced

    While saving Multiple Attachments from Mail, existing file with same name are not overwritted but new files are added in the folder.

    Bjørn Larsen a écrit:
    Hi all
    Hope to get some help with Elements Organizer.
    I have 12-15 years of digital photos that I now want to import into my newly aquirede Adobe Elements Organizer / Photoshop. Since my Nikon names the files with continous numbers from 0001 to 9999 I have multiple files with the same name although they are not alike at all. My previous software had no problems with that since I keep the photos in separate file folders based on import date. I generally import photos after each event and so name the folder with the date and some event info (e.g. 2014.12.24 - Christmas at grandparents).
    That is a common situation, I have the same limitation for files not going over 9999 on my Canons...
    Now - when I import my photos into Elements Organizer I get a lot of error messages with "same name exist .....) Hmmmmmmm
    Please sate the exact wording of the error message, I have never seen a message stating 'same name exist...' or equivalent; only messages about files already in the catalog. Files already in the catalog mean that some files have the same 'date taken' and file size in Kb.
    Any suggestions. I'm using a mac and tried to rename files based on date taken. The mac can do that but it takes ages to go into each folder and run the renaming script there.
    I also use a similar folder creation scheme (such a date naming is the default for the downloader). That way I never get a message about duplicates for the same file names.
    However - I can't be the first or only person with this problem so I figure that some workaround must be known out there. Maybe the import action can recognize date taken or - well. Thank you very much in advance if you can help me out here.
    You can alsways set the downloader to rename the imported files with a unique new name, there are many options in the 'advanced' dialog of the downloader. I don't know about Macs, but I don't thing there is a difference.

  • How can I upload and download files with uiXML?

    I want to implement upload and download files with uiXML. In some previouse topic I got answare to look in AbstractPageBroker class in JavaDOC. I did it but this is a very-very little resolution description for this problem. I think for developers YOU (UIX Team) must in very quick time to put some examples on the NET because this is a nice technology but with adecvate samplase and developers guide it will be dead very soon. I digging this forum for information. I see many many people have same problems about this technology. They like it and want to use and try but documentation is very very poor.
    WE WANT EXAMPLES and separate forum for UIX. I think it deserve this.
    If You have any more detailed documentation would be nice to put on the net. I have uixdemo.zip file but this is in very early fase of development. I downloaded it before fwe months. And now I can't find it anymore on youre site. What happend?

    Attila -
    I went back and re-read the JavaDoc for AbstractPageBroker and MultipartFormItem and put together the following sample PageBroker based on the description from the JavaDoc:
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletContext;
    import oracle.cabo.servlet.BajaContext;
    import oracle.cabo.servlet.Page;
    import oracle.cabo.share.util.MultipartFormItem;
    import oracle.cabo.servlet.xml.UIXPageBroker;
    * An extension of UIXPageBroker which stores all uploaded
    * files in the temporary directory.
    public class UploadingPageBroker extends UIXPageBroker
    * Override of AbstractPageBroker.doUploadFile() which saves
    * all files to the temporary directory.
    protected String doUploadFile(
    BajaContext context,
    Page page,
    MultipartFormItem item) throws IOException
    // Get the location of the file to create in the temp directory.
    // Of course a real application probably wouldn't upload files to
    // the temp directory - just using this contrived example to
    // demonstrate basic uploading support.
    File file = _getFile(context, item);
    if (file != null)
    // Create a FileOutputStream. Of course, a real application would
    // probably want to buffer the output
    FileOutputStream out = new FileOutputStream(file);
    // Write out the file
    item.writeFile(out);
    // Close up the output stream
    out.close();
    // We can return a value here to add to the PageEvent
    // if so desired.
    return null;
    // Gets the File for the item that we are uploading
    private File _getFile(
    BajaContext context,
    MultipartFormItem item
    // Get the file name
    String name = item.getFilename();
    // If we don't have a file, bail...
    if (name == null)
    return null;
    // Get the path to the temporary directory
    File dir = _getTempDir();
    // Return the File object
    return new File(dir, name);
    // Returns the path to the temprary directory
    private File _getTempDir()
    // Get the temporary directory from the ServletContext
    ServletConfig sConfig = getServlet().getServletConfig();
    ServletContext sContext = sConfig.getServletContext();
    return (File)sContext.getAttribute("javax.servlet.context.tempdir");
    In this sample, each uploaded file is simply saved in the temporary directory. You'll want to replace the code that creates the FileOutputStream for the uploaded file to use whatever OutputStream makes sense for your application.
    BTW - I used the following UIX page to test this out:
    <?xml version="1.0" encoding="UTF-8"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller">
    <content>
    <pageLayout xmlns="http://xmlns.oracle.com/uix/ui">
    <contents>
    <form name="uploadForm" usesUpload="true">
    <contents>
    <fileUpload name="uploadedFile"/>
    <submitButton name="upload" text="Upload"/>
    </contents>
    </form>
    </contents>
    </pageLayout>
    </content>
    </page>
    Hope this sample helps with the uploading part of your question. I'll see if I can provide a download sample in a later post.

  • Random problem downloading files

    I'm having a random problem downloading files from various web sites. I click the file to download it and instead of getting the save file box with the file name I'll get something like "attachment.php". It always seems to be php files.
    Clicking the file numerous times to download it will eventually download but it's very frustrating.
    I've been through all the trouble shooting guides and suggestions. Nothing made any difference. I've turn off add-ons, virus scanners etc to no avail.
    For instance, this is the last download I tried (click the download button):
    http://www.pixologic.com/zbrush/getting-started/
    I got "download.php" which isn't just the zip file with a different name. It's actually different.
    Doing it a few times I eventually got the zip file.
    It seems to happen on any web site. The common theme is that this ".php" is involved.
    Is this a bug? Any ideas?

    That is a ZIP archive (ZBrush_Getting_Started.zip) that I get when I click the Download button.
    * http://www.pixologic.com/zbrush/getting-started/
    *http://download.pixologic01.com/download.php?f=Documents/ZBrush_Getting_Started.zip
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • How to download  file with Save As dialog

    I am trying to download files with a Save As dialog, according to Jason Hunter's instructions in Jave Enterprise Best Practices.
    String filename = "content.txt";
    // set the headers
    res.setContentType( "application/x-download" );
    res.setHeader( "Content-Disposition", "attachment; filename=" + filename);
    // send the file
    OutputStream out = res.getOutputStream();
    returnFile( filename, out);
    The file content.txt is in the root directory of my webapp. But I get this stack:
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    java.io.FileNotFoundException: content.txt (The system cannot find the file specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.(FileInputStream.java:64)
         at com.interwoven.cssdk.examples.servlets.FileDownloadServlet.returnFile(FileDownloadServlet.java:43)
         at com.interwoven.cssdk.examples.servlets.FileDownloadServlet.doGet(FileDownloadServlet.java:24)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
         at java.lang.Thread.run(Thread.java:484)

    The root of the webservers changes from server to server and
    sometimes it depends on the path you run webserver exe.
    The best i have found to overcome this kind of problems is by
    using getResourceAstream() method which basically looks at classpath locations only, but still this has some problems like it should kept at the
    specified classpath becoz the getResourceAsStrem() method is not static
    method and it always associated with the class object and the file
    accessing also should be in the same package/classpath.
    by using getResourceastream you cannot look at other places (except classpaths)
    and this should be used only if you looking for .properites definitions.
    the Second best method is
    see you have a file called "context.txt" right
    before you create a file, first create a directory at the root, let say
    "\tmp"
    and then create a file \tmp\context.txt
    and then open an output stream to it either using fileoutputstreamm...
    and then write all output content to servlet/client output stream.
    this will be the best becoz you are specifying the "\" the root
    and this is common for all operating systems and definitely it will create at the root directory either serverroot or harddiskdrives root
    so you will never missout and the exceptin will also not comes along the way
    cheers..
    if you get new thing , let me know
    bye
    with regards
    Lokesh T.C

  • Live view putting a file with no name

    So i have a problem (don't know if it's a problem really, but at least an annoyance) with the Live View and Preview in browser features.
    When use them, the file transfer window pops up (even if i have told it to stay "hidden") showing the following:
    Started: 29.5.2013 15.47
    index.php - same - not transferred
    Connections:Raspberrypi.php - same - not transferred
    styles:common.css - same - not transferred
    - error occurred - Access denied.  The file may not exist locally,  may be open in another program, or there could be a local permission problem.
    File activity incomplete. 1 file(s) or folder(s) were not completed.
    Files skipped: 3
    Files with errors: 1
    Finished: 29.5.2013 15.47
    So the weird lines are those marked with red. It looks like its trying to put a file with no name or extensions at all - and i don't think i have such files on my site. Also the permissions are correct on both the server and my Mac.
    My web browser opens up and shows the site perfectly, and if I'm using the Live View, the site shows up well too. The thing is every time I hit F5 to refresh, i have to close the file transfer window. Annoying.
    I don't know if it matters but I'm using a Raspberry Pi as my home web server. It has Apache2, PHP 5, MySQL and vsftpd running, and I have been able to use them with no problem earlier.
    Hopefully someone knows what I am doing wrong here...
    Thanks in adnvance!

    Have you enabled Automatic Upload on SAVE?  I never FTP files on Save.  Way too much risk of error and it takes focus away from my work which is very distracting.  See screenshot.
    Nancy O.

  • Adobe Acrobat Pro cannot find moved files or files with edited names

    Adobe Acrobat X Pro 10.1 cannot find recent files or files with edited names.
    For instance, if a PDF file is moved in the hard disk from one foder to another, Acrobat cannot find it when trying to open it via "File - Open Recent File".
    Likewise, if the name of the file is changed in the Finder.
    Similarly, if a PDF file is open, it is marked with the yellow fluorescent marker of Acrobat, its name is then changed in the Finder and later on you try to save it, Acrobat says that it cannot find such file.
    Yet, applications like Microsoft Word do not have any of the above problems. It would be great if Adobe could fix these serious productivity issues, which have plagued Acrobat for many years now.
    How to send such feedback to Adobe?

    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • How to send file with original name through Mail adapter

    I have to send file with original name as attachment through Mail Adapter. I am picking the file from FTP server through File Adapter. I am not using message mapping because files do not have any standard format.

    Hi,
    Have you solve your problem ?...
    I have exactly the same scenario : pik up a file (file adapter) and send it in attachment by mail adapter without mapping (no IR)...
    I activated Adapter specific paramters properties in the File adapter sender and i can see the FileName tag in DynamicConfiguration section of SoapHeader in SXMB_MONI...
    I want to use MessageTransformationBean... BUT, how can i 'access' to FileName tag ???...
    Thanks...
    I setup modules like this :
    AF_Modules/DynamicConfigurationBean 1
    AF_Modules/MessageTransformBean rename
    sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean mail
    1 key.0 write http://sap.com/xi/XI/System/File FileName
    1 value.0 message.FileName
    rename Transform.ContentDisposition attachment;filename=message.FileName
    rename Transform.ContentDescription message.FileName
    rename Transform.ContentType application/csv-tab-delimited-table;name=message.FileName
    But my file name attachment is message.FileName....
    Edited by: Emmanuel JORAND on Sep 29, 2008 9:23 PM
    Edited by: Emmanuel JORAND on Sep 29, 2008 10:25 PM

  • "File with specified name and version number already exists. Result code= -48."   ...????

    Recently I have been getting this error message when I try to record an audio track in Logic... "File with specified name and version number already exists. Result code = -48."  WHAT IS THE PROBLEM?????? It's making me furious!

    Hi
    As the message says, there is a file at the recording directory that has the same name:
    http://support.apple.com/kb/ht1618
    Try changing the name of the track (this sets the filename in later versions of Logic 9
    CCT

  • Files with "alien" names in directories with very long path names

    Hi all,
    first of all - I dont know if this is the right forum for my Question,
    but I could not find any better ;-)
    I have a problem with some files with "alien" names with MIXED characters from different foreign countries
    (e.g. "Φέτα (τυρί) 只有沙盒或您的用户页可以用作測試ורת המבחנים בחינוך פור.txt").
    Sometimes - whenn those files are exists in a directory with a very long path name,
    then the windows api fails to handle these files.
    For example GetFileAttributesW() returns error 2
    and ntQueryDirectoryFile does not return this file in the list (etc. pp.)
    I have this behaviour not with other files in those directories (e.g. "abc.txt")
    and also not when those names are a little bit shorter
    or the directorys name is not too long.
    So I guess, there is a bug either in the API or in the file system...?!
    I know that such a file name is a generic one,
    but I have a situation where I have to handle any file with any name -
    even in directories with very long path names...
    So please no suggestions like "use shorter paths" or "convert it to a short name"....
    thx in advance and Best regards,
    dp.

    No need to call, your MSDN subscription has few free support incidents.
    Chat with the rep to submit an incident.
    Or find their phone number
    here.
    Good luck,
    -- pa

  • How to delete one existing file before uploading a file with same name?

    Hello everybody.
    I am uploading a file to Tomcat server. But, the problem is:
    i want to delete an existing file in the server, if i upload a fresh file with same name. In other words, "First check for the file with the same name in the server. If it exists, then delete existing file in the server and upload fresh one". If such file doesnot exist, then upload the file to server.
    I have given deleteonExit()
    but, for the first time when user is uploading, i want to check for the file with same name in the server.
    i am pasting the code here. please help:
    <!-- uploading the file -->
    <%
    String contentType = request.getContentType();
    if ((contentType != null) && (contentType.indexOf("multipart/form-data") >= 0))
    DataInputStream in = new DataInputStream(request.getInputStream());
    int formDataLength = request.getContentLength();
    byte dataBytes[] = new byte[formDataLength];
    int byteRead = 0;
    int totalBytesRead = 0;
    while (totalBytesRead < formDataLength)
    byteRead = in.read(dataBytes, totalBytesRead, formDataLength);
    totalBytesRead += byteRead;
    String contextRootPath = this.getServletContext().getRealPath("/");
    contextRootPath=contextRootPath.concat("uploaded");
    String file = new String(dataBytes);
    String saveFile = file.substring(file.indexOf("filename=\"") + 10);
    saveFile = saveFile.substring(0, saveFile.indexOf("\n"));
    saveFile = saveFile.substring(saveFile.lastIndexOf("\\") + 1,saveFile.indexOf("\""));
    // Create a directory; all ancestor directories must exist
    File outputFile = new File(contextRootPath, saveFile);
    var=outputFile.getPath();
    outputFile.createNewFile();
    int lastIndex = contentType.lastIndexOf("=");
    String boundary = contentType.substring(lastIndex + 1,contentType.length());
    int pos;
    pos = file.indexOf("filename=\"");
    pos = file.indexOf("\n", pos) + 1;
    pos = file.indexOf("\n", pos) + 1;
    pos = file.indexOf("\n", pos) + 1;
    int boundaryLocation = file.indexOf(boundary, pos) - 4;
    int startPos = ((file.substring(0, pos)).getBytes()).length;
    int endPos = ((file.substring(0, boundaryLocation)).getBytes()).length;
    FileOutputStream fileOut = new FileOutputStream(outputFile);
    fileOut.write(dataBytes, startPos, (endPos - startPos));
    fileOut.flush();
    fileOut.close();
    outputFile.deleteOnExit();
    %>Please help. Thanks for taking time.
    Regards,
    Ashvini

    Thank you MartinHilpert,
    I have one more doubt,
    I am uploading the file to one folder called "uploaded". Before uploading a fresh file, i want to delete all existing files in that folder. IS that possible ?? If yes, can you please tell me how to do that ??
    Regards, Thanks for your time.
    Ashlvini

  • FTP Activity - mget multiple files with dynamic names

    Hello All
    Hope all is well.
    I was wondering if there was a way to configure FTP activity to transfer multiple files with dynamic names from source location at daily intervals.
    For example, my source files are affixed with date values (source_filename_<mmddyyyy>_<hh>.txt):
    source_filename_12252009_00.txt
    source_filename_12252009_06.txt
    source_filename_12252009_12.txt
    source_filename_12252009_18.txt
    What I would like my process flow to do would be to download just these 4 files once daily based on a dynamic ftp script as follows:
    open ${Remote.Host}
    ${Remote.User}
    ${Remote.Password}
    cd ${Remote.RootPath}
    prompt off
    mget ????????
    quit
    In DOS batch script you would have the mget command with a wildcard as:
    mget source_filename_%DATE:~0,2%%DATE:~2,2%%DATE:~4,4%*.txt
    How does one go about implementing this in OWB? Does it require a user defined substitution varilable of some sort?
    FYI, I am using version 10gR2.
    Cheers.

    Hi ,
    If you are able to achieve your objective from a DOS batch script then you can call that script for an User Defined Activity in OWB process flow .
    Hope this helps.
    Thanks,
    Sutirtha

Maybe you are looking for

  • Error while loading PDF Preset file

    Dear All, I am trying to create a PDF of the InDesign Document after my process. For that I load the preset file generate the PDF and unload Preset file from the server. On this it gets removed properly from the temporary folder also. Problem is when

  • Need help in writing the query

    The initial data is as follows: ID PARENT_ID ============= 1 NULL 2 NULL 3 2 4 6 5 3 6 7 7 4 8 NULL but output is as follows in such way that Parent_Id should be displayed in ID place ID PARENT_ID ============= 1 NULL 2 NULL 3 2 8 NULL 6 8 4 6 5 3 7

  • Just started having problem connecting ipod to windows xp

    I have a ipod video 5th gen. Bought it about a month ago and has worked fine. I was able to charge and sync with itunes with no prob. Just recently when i connect the ipod with my usb cable, it comes up with an error saying "the usb device attached t

  • How do I access the photos and videos from my computer that I backed up from my phone to verizon backup assistant plus?

    how do I access the photos and videos from my computer that I backed up from my phone to verizon backup assistant plus?

  • Table for Intransit-stock

    Want to know the table for intransit stock.  Intransit stock means, when we carry out movement type 641 against STO  and the receipt against the same in movement type 101 is not taken.  Till the receipt is not taken at movement type 101, this is call