File uploading (FTP)

I need to build an app for choosing and uploading JPEGs and
GIFs (from the
local machine) to a server for an online catalog. This
presents two issues.
One, is how to display a graphic residing on a webserver when
one chooses it
from a list (the locations and names are databased so getting
the loacation
should be easy). I've picked things from a list created from
a database
before.
The other issue is the uploading part. Does Flash MX 2004
Professional do
this? Could it be used to leverage the use of the command
line FTP if
necessary? I would need to be able to supply FTP credentials,
trap the
success or failure of the upload as well as being able to
capture the local
file name as well as rename it for the upload.
I appreciate your help
Julian

Well, I was thinking about the client. Could flash be used to
FTP a file? I
have Flash CS3 Professional.
"chopTheWood" <[email protected]> wrote in
message
news:f9vns2$eto$[email protected]..
> As far as I know, you're talking about a server-side
application which is
> not
> what Flash is. You'll probably have to incorporate a ss
language like PhP.
> This
> really isn't as hard as it sounds as long as the server
is running PhP.
> There's
> a good book called PHP5 by Julie Meloni that covers
exactly this in one
> small
> chapter. Just an HTML with a small PP script. I can send
you the code from
> the
> chapter if you like but you won't have the explanation
to go with it.
>

Similar Messages

  • Upload XL file from FTP server

    Hi All,
    Can anybady help me, how to upload Excel file from FTP server.
    Thanks
    Sri
    Edited by: srikanthn on Apr 14, 2010 6:31 PM

    Hello
    How about using SAPFTP?
    I hope SAP note 130106 will guide you on this.
    Thanks
    koju

  • Is there a way to create a file upload page for uploading large documents to a ftp site in Muse?

    I am building a site for a printing company and wanted to know if there was a way to build in a ftp file upload page or button?

    No that is not possible with Muse alone. YOu can host it on Business Catalyst and upgrade the hosting plan to at least the webMarketing plan for general uploading. If it requires each user to have their own profile etc, then you will need to use BC webApps

  • Uploading a text file to FTP Loc

    Hi,
    Please guide me in the following query:
    While uploading a text file to FTP Loc by using FM 'FTP_R3_TO_CLIENT', all the data is coming in one line. Please guide me how can i insert the new line character after the end of each line.
    Please guide.
    Thanks and Regards

    Hi,
    When i make the character_mode = 'X', then no data is getting uploaded to FTP Loc, only a blank file is being created. Please guide.
    Thanks and Regards
    Edited by: MP Vashishth on Jan 12, 2010 10:34 AM

  • Unable to upload multiple files on FTP server.

    m trying to upload files present in one directory..
    its storing the first file properly...but from second file its giving error.
    my code is pasted below:
    ftp1.setFileType(FTPClient.BINARY_FILE_TYPE);
    ftp2.setFileType(FTPClient.BINARY_FILE_TYPE);
                 String filename="";
                FTPFile[] files = ftp1.listFiles();
                if ( files.length == 0 )
                    System.out.println("  No results.");
                } else
                     for (int i = 0; i < files.length; i++)
                          FTPFile f = files;
              filename = f.getName();      
              System.out.println(" > " + filename );
              ftp2.enterRemotePassiveMode();
         ftp1.enterRemoteActiveMode(InetAddress.getByName(ftp2.getPassiveHost()),
              if (ftp1.remoteRetrieve(filename) && ftp2.remoteStore(filename))
                   System.out.println("Successfull >" + filename);
              else
                   System.err.println(
                   "Couldn't initiate transfer. Check that filenames are valid.");
                   break __main;
         }//end of for
         ftp1.completePendingCommand();
         ftp2.completePendingCommand();
    }// end of else
    my code is actually trying to list files from FTP Server1 and copy this to FTP Server2.
    I think the problem is
    ftp2.enterRemotePassiveMode();
         ftp1.enterRemoteActiveMode(InetAddress.getByName(ftp2.getPassiveHost()),
    please can any one figure out the problem...
    any help suggestion is welcome....

    What about connecting to the remote server with cfftp. Then
    using
    cfdirectory to get a listing of the files. Loop over the
    listing using cfftp
    to grab each file.
    Bryan Ashcraft (remove brain to reply)
    Web Application Developer
    Wright Medical Technology, Inc.
    Macromedia Certified Dreamweaver Developer
    Adobe Community Expert (DW) ::
    http://www.adobe.com/communities/experts/
    "Dusty Carr" <[email protected]> wrote in message
    news:f59tue$731$[email protected]..
    >I need to get files from a remote server using cfftp, the
    problem is that
    > the files are not zipped into one file, there are
    multiple files with
    > different file names that change daily, all are .jpg
    extensions. I
    > thought
    > I could just use something like this:
    > <cfftp action = "getFile"
    > stopOnError = "Yes"
    > remotefile = "/*.jpg"
    > localfile = " my dir"
    > connection = "ftp_IDX"
    > failIfExists = "false"
    > passive="yes">
    >
    > But just using the * wildcard does not work. what am I
    missing here?
    >
    >

  • Problem on upload file via ftp..

    Hi afternnon,
    Can have people tell me.....what is "Can't open data connection" on my upload file via ftp ????how to solve it??
    regards,
    mike

    nbelford wrote:
    I cant find any way to upload the CSR either/ I dont think it exists yet. Can someone please let us know how far away it is. Same applies to the provisioning profile. I cant see any evidence of this yet either.
    I am presuming that without these key pieces of the puzzle one cannot deploy to the iPhone. Can someone from Apple confirm (or correct me)
    I've emailed Apple asking for clarification but I haven't heard back yet. I imagine we'll all learn what's going on at about the same time. And yes, until you get a certificate you cannot upload your apps to the iPhone (within the SDK rules).
    Randy

  • FTP / File-Upload and Download

    Hi AS-Experts,
    is it possible to upload and/or download a file to/from a server using AppleScript?
    I need to download pictures from a web server, rework them in photoshop, and upload them afterwards. And it would be easier/safer/cleaner having to mess only with AS and Photoshop than having to involve a scriptable ftp-app too.

    01. Locate and open the '/System/Library/ScriptingAdditions/' folder.
    02. Select all seven (7) items of the folders' window.
    03. Drag the selected items onto the 'Library' window of 'Script Editor'.
    04. Double click on 'URL Access Scripting.app', of 'Script Editor's 'Library' window.
    05. View the options of 'upload'.
    You will note that 'binhexing' is set to 'true'. Therefore, you have to use ...
    tell application "URL Access Scripting" to upload (alias "HD:path:to:your.file") to "ftp://username:[email protected]/path/" without binhexing
    You should have created a new forum subject post.

  • File upload from ftp

    How can i upload file from ftp server to DMS content server.
    i have try with BAPI_DOCUMENT_CREATE2 it working ok if i am give source path of my local pc file.
    but if i use ftp path than it is giving errer
    " E26                  253Error while checking in and storing: FTP://10.2.16.137/SENDER/Z12345.PDF"
    is there other settings for using ftp.
    and my ftp is open no restriction is there?

    Dear Alex,
    Can u provide how did u solve to create DIR Record from FTP,
    We are having the same requirement and facing problem
    errro while checking and storing...
    Regards,
    Tushar

  • Socket, ftp, file upload

    Hi,
    I'm writting a library to manage ftp socket connections in AIR app. I'd like to implement a file upload operation but I need to answer some questions first.
    1. How big should be single package of data I send to server?
    2. How often packages can be sent?
    Running through the web I found examples where people sent packages at 4kb/300ms, 10kb/120ms.
    SmartFTP client sends 128kb/??. I wrote "??" because it seems that frequency of sending packages differs in a time.
    WinSCP client allows to set a limitation on upload transfer (8 - 1024 kb/s) but it also has a "unlimited" option. How does it know what is the maximum transfer at a moment?
    When I flushed 4kb each 1ms FTP server managed to receive only a part of my packages. Then I changed 1ms to 10ms and FTP server still didn't receive all packages but it received more than in previous case. Finally I set 100ms rate and the file was transfered properly. This test makes me to belive that package size and flush frequency really matters. I'm pretty sure that event if I send packages at 100ms rate it could cause some problems in cases when internet connection is low. I hoped that server may return some response when it receives package so I could know than next package can be send but nothing like that happens.
    I also tried to flush a whole file at once because I belived that is the way to get maximum file transfer and it worked but I'm affraid it's not a good solution. I'm affraid that it may cause some problems on a server-side because of too much data at once. It's just a hunch so let me know if I'm wrong, please.
    3. How do I know if file was sent properly?
    The only thing that comed to my mind was sending SIZE command after closing passive connection and comparing local file size with remote file size. But if sizes don't match then what? Delete remote file and send it againg? It seems weird. For all my life I didn't see a situtation in which ftp client didn't manage to send a file and even if that it tried to resend it.
    4. How can I estimate upload transfer?
    I can't rely on the amount of data I send because I can send 1kb/s as well as whole file at once and it won't reflec the real transfer. I need to know somehow how much of the data I send was received be server. Again SIZE command comed to my mind. I thought that while uploading I could send SIZE command at some time interval like 1000ms and estimate by that how many bytes is received by server each second. Unfortunately server doesn't respond to SIZE command until file transfer is complete.
    I'm lack of ideas: server doesn't return any confirmation that package was received and I can't do it by checking remote file size. What else can I do?
    If you can't help me I'll be glad if you poit me out a place where I could introduce my problem. It's difficult to find a forum about wrtting ftp client issues

    Thanks Kennethkawamoto2, now i knew the reason, but still i am getting error for crossdomain.xml , when moving flash on production.
    I am putting it as below,
    Security.loadPolicyFile('xmlsocket://ipaddress:80/crossdomain.xml');
    can anybody help?
    much appreciated,
    Meghana

  • Cannot upload file to FTP

    I'm trying to upload a file via FTP (using Transmit) and keep receiving a message "make sure you have permission to modify". I have read  and write permission. I'm using my macbook and its a file I created. What do I need to adjust on my settings? I also tried using another outside service providing FTP and received a similar message so I'm sure its something with the macbook settings.

    use a reliable FTP client, such as Filezilla (free app) or likewise.
    re-verify

  • Kernel crash when uploading FTP files

    Just let you know, that I got Kernel crash, when I was uploading files using FTP Transmit.
    I guess time machine make it crash.
    I unplugged the HDD and all is ok.
    This means no FTP, no Aperture............... and so many other things

    Thanks for this, I just wrote a reply on the other thread too. I'm very grateful for that.
    In my case there was no grey screen, just the sudden freeze (no beachball, nothing) -- the computer is working fine one moment and then instantly moves to a state where the mouse pointer doesn't move, keyboard doesn't do anthing, flashing cursor in the clock stops, and the only thing to resolve this is the power button. I don't know the technical term for this -- somebody told me 'hard crash' might be the term.
    I'm wondering how to avoid this happening. It actually happens MORE frequently than the ominous grey screen saying 'You need to restart'. It's more common on the laptop than on the G5, though.
    Thanks again.
    PowerMac G5 Dual 1.8GHz (1 GB RAM), PowerBook G4 12" 1.33GHz (768 MB RAM)   Mac OS X (10.4.5)  

  • Is it possible to upload large files through FTP to server with iWeb?

    Is it possible to upload large files through FTP to server with iWeb like for example with Cyberduck?
    I don't need to publish website with files, I just need to upload files on server. Can it be done somehow with iWeb?

    Here's some info about FTP...
    http://www.iwebformusicians.com/Search-Engine-Optimization/Upload.html
    Make sure you are allowed to store files on your server. Most hosting services don't allow anything to be stored that can't be accessed via the internet. Check the fine print!

  • How to upload a file using FTP tin JSP

    Hello friends ,
    I m actually looking to upload a file using FTP to a server(webserver) in JSP . If there any tags available to accomplish this r any information regading this plzz let me no.
    Thanks in advance
    P.Satish

    Not sure exactly what you're trying to do but you set the content type a stream it to the browser from a servlet

  • Automator to upload files to ftp server

    Hello, I am trying to make an automator task that will activate whenver a new file is added to a local folder. The automator should take the new file, upload it to a remote ftp server, then delete the file.
    I figured out how to make a task that uploads to ftp. I need help making the task activate when a new file is put in the folder, and then the task selecting that new file to upload it.

    Hi Bob, many ways...
    http://fetchsoftworks.com/fetch/help/Contents/Tutorial/SettingUpWatchFolder.html
    http://hintsforums.macworld.com/archive/index.php/t-9652.html
    http://www.mactech.com/articles/mactech/Vol.20/20.07/FolderWatching/index.html

  • Upload files from FTP server

    Hi Friends,
    We are loading some files from FTP server into the BW (Datasource)
    In the infopackage we have given the setting as 'Load from application server' and have given the file path as it is in application server. No routine has been created.
    Files are successfully loading from FTP server to the BW datasource.
    My question is:
    In the infopackage we have only maintained that it should be loaded from application server and the file path.
    But how the system(infopackage) gets to know that  from which server(FTP) it should pick. Is there any table to maintain these entries. i.e when infopackage is scheduled it only pings the required server and picks the file with the help of given file path.But how does it know which server it should ping.
    Pls help.
    Thanks & Regards,
    Niku

    Hello Niku,
    It seems in your case you have only one FTP, and the system is pointing by default to that FTP and picking the required files fro your Info Package.
    Normally a Standard ABAP Program  RSFTP002 is used to communicate to the FTP Server with the help of RFC . In the Same program you can maintain the credentials ( USerName and password) along with the Source and Destination related properties .
    Back to your query , you can check the same in above program ( RSFTP002 ) through SE38 and cross verify your FTP .
    Hope this helps !
    Regards
    YN

Maybe you are looking for