Stackscript - How to upload a file from my computer?

Is it possible to upload a file from my Windows 7 computer to my Linode VPS server as a part of the execution of a stackscript?

If so, how?

I'm working up a stackscript to install a LEMP server to host an installation of vBulletin 4.1. I am at the point where I need to retrieve/upload an individual's licensed copy of the vBulletin distribution file, but vBulletin.com doesn't allow the retrieval of such files using wget.

How can I retrieve/upload the vBulletin distribution file from my computer to the VPS as a part of the execution of the stackscript?

Ideally, I'd like to provide a UDF which prompts the user to input the path to the location of the file on his/her computer, then use that path to upload the file to the user's directory on the VPS.

Once the file is on the VPS, my stackscript then finishes the preparation of the vBulletin installation script (config.php), and restarts the VPS. The user then executes the vBulletin config.php installation file using a web browser.

Thank you.

1 Reply

@lkmcmillen:

Is it possible to upload a file from my Windows 7 computer to my Linode VPS server as a part of the execution of a stackscript?

If so, how?

I'm working up a stackscript to install a LEMP server to host an installation of vBulletin 4.1. I am at the point where I need to retrieve/upload an individual's licensed copy of the vBulletin distribution file, but vBulletin.com doesn't allow the retrieval of such files using wget.

How can I retrieve/upload the vBulletin distribution file from my computer to the VPS as a part of the execution of the stackscript?

Ideally, I'd like to provide a UDF which prompts the user to input the path to the location of the file on his/her computer, then use that path to upload the file to the user's directory on the VPS.

Once the file is on the VPS, my stackscript then finishes the preparation of the vBulletin installation script (config.php), and restarts the VPS. The user then executes the vBulletin config.php installation file using a web browser.

Thank you.

IINM, you can't do something like a browser upload, but you could prompt the user for a URL to the file. Use wget to retrieve the file prior to starting the vBulletin installation routine. Then you point vBulletin to the local file.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct