Auto Upload SWF on Publish

Posted on 2009-05-17
Medium Priority
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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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, http://www.yourdomainname.com  in the HTTP Address field.  Make sure you replace yourdomainname.com 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 www.yourdomain.com.

Important: Replace yourdomainname.com 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 www.yourdomainname.com.
   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.

Link: http://www.downloadthat.com/windows/Internet/FTP-Clients/Fling-FTP-Software.html

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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.


Accepted Solution

manavsi earned 1000 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

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

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

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.
Suggested Courses

764 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