Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2003
    Posts
    45

    FTP Client Question

    Hi, I need a little help please with a project. Basically I have it sussed apart from one small problem.

    Project:

    An application that allows the user to locate a file, then name it from a variable %%ZippedName%%.zip this then zips the file to a specified temp folder

    I then need to upload the %%ZippedName%%.zip named by the user.

    All the zip part and temp folder creation is working fine, I get it named, but when I choose to upload the file, it doesn't work unless I specify the file name with no variable. At the moment when it tries to upload it uploads a file called "%%ZippedName%%.zip" with a file size of "0" and the application throws an unknown error failure message.

    If anyone could help me learn how to retain the "%%ZippedName%%" variable for the later use, I would really appreciate it.

    Cheers
    Drew

  2. #2
    Join Date
    Mar 2005
    Location
    WA 'wait a while' - Australia
    Posts
    872
    Hi, have a look into how the action SessionVar.Expand works
    and lock this in to one of your Application creation habbits:

    if using session variables, whenever doing any scripting, you
    need to expand the Session Variable first, so it can be interpreted
    properly by the Lua scripting engine.

    hth a little

Similar Threads

  1. Custom FTP Image Up Loader
    By Roboblue in forum AutoPlay Media Studio 7.5 Examples
    Replies: 6
    Last Post: 05-14-2009, 08:37 AM
  2. Secure FTP
    By TJ_Tigger in forum AutoPlay Media Studio 5.0
    Replies: 4
    Last Post: 08-19-2008, 04:46 PM
  3. Serious AM6 Security Issue Question
    By travisperkins in forum AutoPlay Media Studio 6.0
    Replies: 17
    Last Post: 03-27-2006, 05:16 PM
  4. What's New in TrueUpdate 2.0?
    By Colin in forum TrueUpdate 2.0
    Replies: 0
    Last Post: 01-04-2005, 12:24 PM
  5. Spotlight: FTP File Transfer Plugin
    By Desmond in forum AutoPlay Media Studio 5.0
    Replies: 1
    Last Post: 03-10-2004, 09:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts