Jump to content
Sign in to follow this  
dcjohnston

Variable question

Recommended Posts

dcjohnston

simply put...........

I take a users input in this code.

$zipname = InputBox("Path and name", "Enter the path and name of the upgrade zip file.", ""); FTP path to download upgrade zip file.

Then pass it to this command to get the upgrade zip file.

InetGet(" & $zipname & ", "c:\platform.zip", 0) ; get the upgrade file. save to C drive and rename.

The problem is that when I use the variable, the download from the FTP site fails.

If I hardcode the Ftp URL into this line then the download works fine.

The "$zipname" variable gets the correct value. I am thinking its my code.

Thanks for the assistance. By the way I am using the Beta 3 version.

Share this post


Link to post
Share on other sites
dcjohnston

Bingo! That was way helpful.

Thanks for the input. Hopefully as I improve I will be able to provide some support.

Dave

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.