Working with Local Files

I have to develop a Web-Based application to run on each client's pc. Or, it could be to run on our intranet. This is for internal use only. The requirements are very simple:
1. Web-Based
2. Able to access local client's files
3. Able to upload files via FTP
4. Able to access a MySQL database to query some data
I recently developed a Desktop Application using Visual Basic 2008 Express .Net 3.5. It works ok. Application will look for .pdf files on a specific folder on C: drive, rename the files according to some user's input and database query result, then upload the renamed files to an FTP server. No problem. However, the company don't want a desktop application. So, my goal is to re-create the application using a new Rich Internet Application technology. I then, created a Windows User Control in VB.net 3.5 and embedded the .dll in an html page. This works great on my local development pc, however, it will have some security issues when I try to run it on our intranet. It seems like the control (Activex), will not allow access to the local files. I just need access to be able to rename files on C:, that's it. Then I came across Silverligt and Flex development software. But, after playing with flex for a little, noticed that Flex will not be my best choice to access and rename local files. Any suggestions about the technology that we should use?
Will I be able to accomplish this type of application using a Java Applet?
Thanks!

Hi,
why didn't you check the sy-batch (test if it's a background job) ? 
use the DIR_TEMP of the SAP server when it's a background job.
to get the physical directory you could use this kernel function :
  CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_TEMP'
                     ID 'VALUE' FIELD searchpoints-dirname.
(dirname is a CHAR 75)
Rgd
Frédéric

Similar Messages

  • Working with local files at c:\temp ...

    Hi!
    My report is working with local files (this is a must). I know that i can't use such a report in a planned job in the background. Are there nevertheless any options for me starting this report regularly in an automatic way? ...Perhaps on a pc which is always logged/switched on?
    Thanks in advance!
    Best regards,
    Ingo

    Hi,
    why didn't you check the sy-batch (test if it's a background job) ? 
    use the DIR_TEMP of the SAP server when it's a background job.
    to get the physical directory you could use this kernel function :
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_TEMP'
                         ID 'VALUE' FIELD searchpoints-dirname.
    (dirname is a CHAR 75)
    Rgd
    Frédéric

  • BrowserLab won't work with local files in DW CS5

    Any issue report you make about BrowserLab on these forums should minimally contain the following information. If it doesn't, the first response you get from us will likely just ask for the missing info anyway
    Subject
    A descriptive summary of the issue.
    The body should contain:
    Problem Description
    A brief description of the bug or issue
    Steps to Recreate
    The steps we should follow to reproduce your issue. Minimally include all the following:
    Does the issue happen every time, is it sporadic, or did it only happen once.
    Are you testing on Mac or Windows?
    Are you using the main BrowserLab interface, testing via Dreamweaver integration (and if so, what version of DW), or using the BrowserLab for Firebug add-on?
    What is the URL you're testing against. If it's not public, let us know and let us know if you can send us the page source.
    Expected Results
    Based on the steps you described, what you thought should happen
    Actual Results
    What actually did happen
    Thanks everyone,
    Mark
    Using BrowserLab in DW 11.0 Build 4964, BrowserLab can't seem to work. Some not very intuitive places I have checked include making sure the signon credentials are in the CSLive window in DW.
    In preview local/browser, the following messages are disappointing me:
    Timed Out, Failed to Authenticate with Browserlab
    Session Expired, See Browser
    It is on a Mac, 10.6.7, using DW integrated testing. I can log into browserlab and put a public URL, but I don't think that's going to be much better for me than having VMWare and installing free browsers on Mac and Windows, and given the failures here that would be better for local file checks too. I write this because I wonder if I will be disappointed trying to get this to work and then find out I have to pay a yearly subscription to CSLive to be able to keep using it.
    This is on a private URL and I can send the page source, but I don't think its the page that is causing the issue.
    Expected results:
    Able to preview page in any browser of my choosing
    Actual results:
    Spent the last two hours navigating help, googling possible solutions, getting many errors trying to navigate the Adobe help and forums, continually signing in on each adobe page I open. Expecting to have to reauthenticate to post this message. (Updated extension manager as well).

    Hi,
    First, there is no charge currently for using CSLive and there won't be any charge for another year.
    Second, based on what you're saying about the behavior you're seeing with BrowserLab and the issues you had with continually having to sign onto the Adobe pages, it's a strong indication that you've got cookies disabled in your browser or that something on your machine is deleting/expiring the cookies we are trying to set. What browser/version are you using and what kinds of permissions have you got set for cookies in that browser? Can you check that and change your cookie permissions for Adobe.com at least?
    Let me know if that helps or not,
    Mark

  • GetReceivedDate not working with local file

    hello :)
    im using this code to define a local file as MimeMEssage that i read in via StdIn.
         BasicConfigurator.configure();
         Session mailSession = Session.getInstance(new Properties());
                 InputStream source = System.in;
                  MimeMessage message = new MimeMessage(mailSession, source);This works very well and i can use all methods MimeMessage offers.
    except one:
            Date maildate = message.getReceivedDate();i always get null here.
    GetSentDate works fine.
    and all the other get methods i tried.
    when i fetch this mail via the javamaildir class i have no problems getting the receivedDate.
    Does javamail need a real provider here?

    Pop3 doesn't support for getReceivedDate method (Imap supported)
    You can get received date on message's headers
    This is my snip code
    private static Date getDateHeader(javax.mail.Message msg) throws MessagingException {
    Date today = new Date();
    String[] received = msg.getHeader("received");
    if(received != null)
    for (int i = 0; i < received.length; i++) {
    String dateStr = null;
    try {
    dateStr = getDateString(received);
    if(dateStr != null) {
    Date msgDate = parseDate(dateStr);
    if(!msgDate.after(today))
    return msgDate;
    } catch(ParseException ex) { }
    String[] dateHeader = msg.getHeader("date");
    if(dateHeader != null) {
    String dateStr = dateHeader[0];
    try {
    Date msgDate = parseDate(dateStr);
    if(!msgDate.after(today)) return msgDate;
    } catch(ParseException ex) { }
    return today;
    private static String getDateString(String text) {
    String[] daysInDate = { "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun" };
    int startIndex = -1;
    for (int i = 0; i < daysInDate.length; i++) {
    startIndex = text.lastIndexOf(daysInDate[i]);
    if(startIndex != -1)
    break;
    if(startIndex == -1) {
    return null;
    return text.substring(startIndex);
    private static Date parseDate(String dateStr) throws ParseException {
    SimpleDateFormat dateFormat ;
    try {
    dateFormat = new SimpleDateFormat("EEE, d MMM yy HH:mm:ss Z") ;
    return dateFormat.parse(dateStr);
    } catch(ParseException e) {
    try {
    dateFormat = new SimpleDateFormat("EEE, d MMM yyyy HH:mm:ss Z") ;
    return dateFormat.parse(dateStr);
    } catch(ParseException ex) {
    dateFormat = new SimpleDateFormat("d MMM yyyy HH:mm:ss Z") ;
    return dateFormat.parse(dateStr);

  • Javascript not working with local files

    I am not able to get Firefox to execute javascript on local files. I have disabled all add-ons. The odd thing was, the first time I disabled all of the add-ons, it worked, then I re-enabled them one by one to see which one was causing the problem, it stopped, I disabled them all again so I could confirm that is was the add-on, and after that I have never been able to get any javascript to run.
    I have tried multiple files, even the most basic one listed in the Javascript tutorials, no luck. Chrome and Opera have no problems.

    Hi,
    why didn't you check the sy-batch (test if it's a background job) ? 
    use the DIR_TEMP of the SAP server when it's a background job.
    to get the physical directory you could use this kernel function :
      CALL 'C_SAPGPARAM' ID 'NAME'  FIELD 'DIR_TEMP'
                         ID 'VALUE' FIELD searchpoints-dirname.
    (dirname is a CHAR 75)
    Rgd
    Frédéric

  • Flash Preloader Not Working with Local Files?

    Hello all,
    I have created a digital resumé using a Flash
    presentation. The presentation links to several SWF files that are
    rather large. I have designed and implemented preloaders for the
    files.
    My intent is to burn the whole product to CD for
    distribution. The problem I am having is that my Flash preloaders
    work perfectly in FireFox; I click the button in the main
    presentation and the preloader comes up in the target screen,
    followed by the SWF.
    However, the preloaders do not work at all in IE, which
    leaves a black pane with nothing in it and causes the user to click
    the button several times trying to figure out why nothing is
    happening.
    The Flash presentation that is being displayed is embedded in
    a HTML document. The user clicks a button to load a SWF to a
    separate screen; the preloader runs until the file is loaded.
    Any help you could provide is appreciated.

    I have attached the actionscript for the data connection. The
    odd thing about this issue is some of the data is being displayed
    from the webservice call and then some is not. The drop down list
    is not being populated but I am getting some text in a textarea
    that is on the form. My datasource is a SQL Server database and in
    ColdFusion administrator, I used the actual machine name to point
    to the datasource because it is directly linked to my web server.
    This configuration is the one giving me problems. If I change the
    datasource to my test SQL Server (server.somewhere.com) it works
    fine. Does this help any?

  • Has anyone not working with .dv files had synchronization problems?

    Has anyone not working with .dv files had sound synchronization problems? I'm not exactly sure what the alternatives to DV are, but I think one of them is HD.
    The reason for asking this question is to help isolate the nature and cause of a very serious flaw in iMovie '11. In the original release of iMovie '11 (version 9.0) there was a small--but serious--synchronization problem. In the 9.01 there is a large synchronization problem. We know of one person who has not experienced the problem, and he is not working with DV files (media). So we want to find out if anyone who is using something other than .dv files is experiencing a lack of synchronization between sound and picture. Knowing the answer to this will help with figuring out where the cause lies. For the initial iMovie '11 release (9.0), you probably would not notice a problem unless you had very long event-clips, e.g., two hours long. Events get this long if you are transferring from analog 8 mm tapes. Even then, it would have to be in scenes in which the connection between event and sound is obvious, e.g., close ups of people talking. It isn't until the 9.01 release that most people would notice anything. All we need to do is establish one case of a synchronization problem in which the person is using something other than DV.
    Message was edited by: Paul Bullen

    Hopefully, the 9.0.2 release will make my question moot. Zyfert must have posted the announcement of the release just as I was formulating my question. Still, if you have information on the subject, it would be interesting to hear.

  • Working with RAW files in PSE9:  Doable or better to use PSE12?

    I have PSE 9 and will soon get a camera with RAW capability.  I notice that Adobe no longer supports PSE 9.  Am I in for trouble if I don't upgrade to PSE 12 since I don't know how to work with RAW files?  It sounds as if I will need something to convert RAW files?  Where do I get it?  Is it a big deal for a beginner with no software skills?

    You can download a free DNG Converter from Adobe and then convert your RAWs to DNGs which can be used in PSE9.
    You don't need PSE12, but if you want to purchase PSE 12, you get the most current features in the Raw processor (which in my opinion is a huge improvement over what is available in PSE9), and you don't need the extra step of converting to DNG.

  • Very slow responce when working with Office file on DFS-Share

    Very slow responce when working with Office file on DFS-Share
    We have implemented the following configuration
    Domain level Windows 2000. Two member servers with Windows Server 2008 R2, sharing the same DFS namespace with, at the moment, one folder target called Home.
    Users complaining that the access to different MS Office files is very slow. Even creating a new MS Word document using right click context menu takes up to 4 minutes to open. Saving, for example, one singe Excel sheet takes also few minutes.
    Tested with both, MS Office 2007 and MS Office 2010. Makes no difference. When using Office 2010 you can see the message like contacting:
    \\DomainName\Root\Home\UserName. Other files like TXT, JPG or PDF are not affected.
     What makes the thing really weird is the fact, that the behavior described above can absolutely change after client machine being rebooted, suddenly everything becomes very fast and this condition can revert back again just after the next
    reboot.
    Considerations until now:
    1. This has nothing to do with the file size. Even tiny files are affected.
    2. AD Sites are configured correctly and the client workstations see themselves in the correct sites.
    3. This is not an Office issue. If I map my folder target not as DFS, but directly as shared network drive
    \\ServerName\Root\Home\UserName , everything functions as expected
    What makes me suspicious: when using f.e. TCPView to monitor connections, I can see, that each time I make any operation on an office file, there will be a connection established to one of the domain controllers, sometimes to remote ones,
    located in other countries. But on the other side, even if the connection is established to the nearest DC, operations are still very very slow!
    Just forget to say. All clients are Windows 7
    Thanks to all who respond.

    Dear all,
    sorry for the delayed reply. The problem has been solved now and since September 19<sup>th</sup>. everything is functioning as expected.
    What was done:
    Deleted replication targets excepting the initial ones
    Carefully recreated folder targets
    Deleted and recreated  replication groups
    Disabled SNP features on both namespace servers
    Created EnableTCPA registry entry
    Checked that the following Updates are installed
    http://support.microsoft.com/kb/2688074
    http://support.microsoft.com/kb/2647452
    Concering Office File validation KB2553065 - This Update was already declined on our WSUS server
    Kind Regards
    Eduard

  • Working with RAW files in iPhoto 5.0.4 and Elements 4.0.1

    I take photos in RAW mode and download them to iPhoto. When I try to edit the photo in iPhoto, the picture is a tiny little file that is impossible to enlarge with any sort of clarity. Also, the word "RAW" does not appear anywhere on the iPhoto window like I read it is supposed to.
    When I drag the file to Photoshop Elements, I get an editing window that has none of the tools usually associated with JPEG files. I get a separate window in which I can darken or lighten the image, that's it.
    Clearly, I'm doing something wrong. No one in their right mind would ever use RAW if this is how it works.
    Any ideas?

    Hi Jack!
    If you're new working with RAW files, your right, it just doesn't make sense. RAW <imho> is a bit overrated. One thing you will need to keep in mind when shooting in RAW, is you will still need to take a well exposed image. What RAW files will allow are CHANGES in all areas of the image v. JPEG which may allow you to ADJUST a few settings in the image. My only suggestion would be to kepp playing around with PSE until you get the hang of it, it is an excellent image editing software. But realize, a well exposed JPEG and RAW file are hard to tell apart...
    Personally, I do not directly download RAW files through iPhoto but will create a folder and download to here, and simply drage folder to iPhoto to import (which are then 'converted' into JPEG files). This way I have the original RAW images safely located outside of iPhoto as well as in iPhoto. You should set Elements as your choice of application to edit files inside iPhoto.
    Good luck, Rick
    Good link: http://www.elementsvillage.com/forums/ and just for fun: http://www.photoshopcosmetics.com/index.php

  • Working with Large files in Photoshop 10

    I am taking pictures with a 4X5 large format film camera and scanning them at 3,000 DPI, which is creating extremely large files. My goal is to take them into Photoshop Elements 10 to cleanup, edit, merge photos together and so on. The cleanup tools don't seem to work that well on large files. My end result is to be able to send these pictures out to be printed at large sizes up to 40X60. How can I work in this environment and get the best print results?

    You will need to work with 8bit files to get the benefit of all the editing tools in Elements.
    I would suggest resizing at resolution of 300ppi although you can use much lower resolutions for really large prints that will be viewed from a distance e.g. hung on a gallery wall.
    That should give you an image size of 12,000 x 18,000 pixels if the original aspect ratio is 2:3
    Use the top menu:
    Image >> Resize >> Image Size

  • Unexpected problem: uncaught exception when working with audio files in Soundtrack Pro

    Hey,
    Whenever I double click an audio file in the timeline to work on it, I end up getting the Error message: "Unexpected problem: uncaught exception" and Soundtrack Pro eventually crashes.  Also, this happens when I try to work with audio files in the file editor.  I have Leopard and am using Logic Studio 8.  Any insight would be much appreciated. Thanks
    Matt

    Didnt know how to remove the original clip from the STP arrange window - or whatever it's called in STPro.  So I could go no further in my perverse science experiment. 
    It also appeared that I could only import an aif but not a wav? 
    I gave up on STPro and did what I needed to do in Logic, which I use regularly.    
    Thank you for folowing up on this. 
    PS.  I used to use an old PowerPC version (1.0.3) of STPro and loved the way it visually showed the change in the waveform when you added each efffect.  It appears that the new version (3.0.1) does not allow you to do this anymore?  You can render or flatten the effects to see the final waveform, but then you are dead in the water and cant make changes?  
    Im such a newbie at STPro that I am probably not using it right? 

  • Working with Multiple Files in Workspace Layout

    If I was working with multiple files in the workspace layout, they each used to be available for selection from a tab.  Now I can either cascade the files horizontally or vertically - but not have them appear in a tab across the top of the workspace layout.
    Does anyone know how to set the workspace to present multiple files in tabs?  I have CS3.

    Tanya,
    This may not help, but the times when that happens to me is when I go too fast and some operations haven't finished. I then try to select a file that hasn't completed and the file I select is in the process of having the data updated. The worst is when it is trying to render as I am doing something.
    I hope this helps some.
    Mel

  • Help: Working with .MOV files in FCP and forced to RENDER FOR EVERY EDIT

    I'm working with .MOV files from my digital camera in Final Cut Pro and every time I make a new edit, I have to render it in order to see it in the canvas.
    How do I make it so that I don't have to render every edit in order to see it?
    (I've worked with files straight from a DV camera, and editing went fine. I'm assuming it has to do with the .MOV files)

    DV Cameras are not the same thing as a Digital camera. Digital cameras offer video on a limited basis and it's usually highly compressed in a non-editing format such as MPEG-2 or similar. NLEs are made to work with video cameras, not still cameras which is why you're having trouble.
    That's not to say you can't edit video captured with a digital camera, but you need to know how to prep it for editing. Some digital cameras shoot at odd frame rates and they all use some form of compression that is not typically used in editing. This means that you'll likely need to convert your clips to an editable format first using Compressor.
    Andy

  • How Can I Work With PHTML Files In Dreamweaver ??

    I want to work with PHTML files in Dreamweaver CS3 - How do I
    go about getting this to work?

    The solutions is either of the following:
    Adobe Lightroom - Find moved or missing files and folders
    Copy the photos back into the exact same folder and folder location that they were in before
    I don't know what you actually did "when I pasted it back" ... but the bigger issue is that you shouldn't be working with these files in your operating system, period. Once you import them into Lightroom, you don't manage these files in your operating system.

Maybe you are looking for

  • Error in confirmed quantity while creating sales order

    Hi, When I am creating sales order, I am getting  confirmed quantity as 0. I have checked the following items, 1. Partial Delivery is permitted for the customer 2. Stock Ava liability is 1,100 3. Confirmed Issue I am getting 1,100 Please solve my pro

  • Streaming video on Solaris 10?

    Hi, Is there any good solution for streaming video with Solaris 10. I got a v245 server. I have no experience on this and appreciate any detailed reply. Thanks

  • 401: Unauthorized only when providing auth line (8.1 SP6)

    Hi,           I have a servlet under 8.1. Servlet has it's own authentication mechanism, only used for certain paths. Most of the paths do not require HTTP authentication, only some do. There is a programatic client that contacts the paths that requi

  • Flash Video FLV autohide skin

    I imported an FLV file, specifying the ClearOverPlayMute skin. I need to use controls *over* my video file, because the final file must fit my video screen exactly. In Properties I specified autohide ON, but the skin does not hide when I roll off the

  • How to run concurrent program one after another

    hi, i have three concurrent program which are inter linked. how to set to run the concurrent program one after the another, ie.. not to run simultaneously. regards Yesukannan