Auto Upload SWF on Publish

Posted on 2009-05-17
Last Modified: 2013-11-12
Anybody know a method for having a SWF automatically uploaded on publishing?   I could set it up with some 3rd party app, but does anybody know how with Dreamweaver or Flash?   And if not what do you think is the best 3rd party application to do the job?
Question by:homemadebyx
  • 3
  • 2

Expert Comment

ID: 24408800
Dreamweaver is the best app, i think you can use to upload swf...  
Just create a site, in Dreamweaver, and Publish your created swf files and HTML files, into one of the folder of that site...

Now just upload the entire site from Dreamweaver, using the procedure below...

<b>How to upload using Dreamweaver?</b>

The first step to upload with Dreamweaver MX is to define a local site on your local computer and a remote site corresponding to your web space. A local site simply lets Dreamweaver know where your files are located on your computer. A remote site lets Dreamweaver know where to put the images, pages, and downloadable files you want associated with your web site.

Heres a step-by-step guide on how to define local and remote sites in Dreamweaver MX 2004:

   1. Launch Dreamweaver MX.
   2. Open the Site menu located in the top navigation bar.
   3. Select Manage Sites&
   4. Next, click New and choose Site.
   5. Under Site name type in a name for your site in Dreamweaver MX. This is only seen in Dreamweaver MX, so you can call it "My Web or Bob or anything else.
   6. Define your Local Root Folder by clicking on the folder icon next to the text field. Use the dialog box to find and select the local directory you created. Your local site is now defined. Although you can use Dreamweaver to upload files that are not in this directory to the remote site, its a good idea to make sure that all of your websites files are located in your local site directory.
   7. Now, enter the full URL of your site  that is,  in the HTTP Address field.  Make sure you replace with your actual domain name.
   8. Select the Remote Info header from the left panel.
   9. Under Access, select FTP.
  10. In the FTP Host field, type

Important: Replace with your actual domain name. Do not insert any prefixes (i.e. http:// or ftp://)

  11. If you have Unix-based shared hosting plan (Personal Unix, Business Class Unix, Pro Unix, or eCommerce Unix), type html in the Host Directory field. If you have Windows-based shared hosting plan (Personal Windows, Business Class Windows, Pro Windows, or eCommerce Windows), type WWWROOT in the Host Directory field.
  12. In the Login field, type your Main FTP Username associated with your hosting plan.
  13. In the Password field, type your FTP Password. (If you store your password, keep in mind that anyone with access to your computer will now be able to access your website as well.)
  14. Click Test to test your connection to the hosting server. If the test is not successful, check below the Troubleshooting section.
  15. Click the OK button to save the new site in Dreamweaver. You can now use your Dreamweaver to publish your site.

Troubleshooting: (Just in case u encounter any problems...)

   1. If you are told that Dreamweaver cannot find the host or server, please check that you have entered the FTP Host details correctly. As long as your domain name is registered and has propagated, your FTP Host should be
   2. If you are told Dreamweaver cannot open the remote folder subsite, you will need to check the Host Directory field. Please make sure it is set to html for the Unix-based plans and WWWROOT for the Windows-based plans.
   3. If you are told you do not have permission to publish to this site, you will need to check your Main FTP Username and FTP Password.
   4. If you seem to be publishing correctly, but the changes are not appearing on your website, refresh the page to reload.


Author Comment

ID: 24408995
i must have not been clear in my question or you didn't read it.
I completely understand how to set up and ftp in Dreamweaver,  but i'd like to automate the upload.  
When i publish in Flash (Shift-F12) i want it to automatically upload that SWF.

Expert Comment

ID: 24409328
sorry, i got it wrong.

I dont think you can automate directly as such, May be try this FlingFTP Software, it may solve ur issue i think...

Fling is free ftp software to help you automate uploading or transferring files. It is typically used to maintain a web site on a remote hosted server or to automate backup of folders. The software supports both file transfer protocol (ftp) and network file transfer. Fling File Transfer Software allows you setup one or more "Fling Folders" on your local computer. You can work in these folders like any other folder on your computer and when any file is added or changed Fling will upload the file to a remote ftp server or network folder. The operation can be automatic (upload as soon as the files are changed), at a preset interval (eg. every hour) or manually.


Well, now i think i answer your question... :)

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!


Accepted Solution

manavsi earned 250 total points
ID: 24447532
well did my comment help you???
LVL 70

Expert Comment

by:Jason C. Levine
ID: 24739766
Hi homemadebyx,

The closest you can come to an auto-upload would be to synchronize the local site to the remote site.  All files with newer timestamps would be uploaded to the server.  However, there is no way to auto-upload a Flash file on save unlike HTML files which can be set to Put on save...

Author Closing Comment

ID: 31582471
When i origianlly posted this question i knew that i could sych directories, i was just hoping for something more built-in or something along those lines.   It does appear synching is the method to use as of now.    Adobe just needs to build this functionality in.   For example a setting in Dreamweaver to auto-upload on flash publish.    I'm using CS3, so maybe in CS4, but i'm sure some CS4 user would have spoke up by now.     Thanks for the assistance,    X

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Writing .htaccess to redirect only the index page 3 100
Netbeans Open project initial dir 5 47
Search on a site 5 137
The Best Website Creation Tools 14 95
Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question