Sign in to follow this  
Followers 0
CheeseBiscuit

Upload a file chosen from autoit to a site

11 posts in this topic

Hello,

    I've started a project to help someone with their website (Basic file storage site) and I thought it would be nice to have the ability to upload from using a program as an alternative to going to the website itself and uploading whatever it is their uploading (limited to 5mbs).

    My plan was to use WinHTTP but some examples I've seen either only do images or can't press buttons so I think it would be better to have cURL but has anyone made a wrapper for it to work with autoIT? My question may sound stupid but I have never used WinHTTP or cURL but was told that I might be able to use them for this application.

Can someone point me in the right direction?

Thanks

Share this post


Link to post
Share on other sites



CheeseBiscuit,

From various indicators you and seem to be one and the same person - or am I mistaken? :huh:

If you are, and as multiple accounts are not permitted here, which account would you like to keep? I can merge the 2 so you would lose nothing in the process - other than a double account. ;)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

CheeseBiscuit,

From various indicators you and seem to be one and the same person - or am I mistaken? :huh:

If you are, and as multiple accounts are not permitted here, which account would you like to keep? I can merge the 2 so you would lose nothing in the process - other than a double account. ;)

M23

No I'm CheeseBiscuit.. I'm sure you can check IPs right? While I have another account here I haven't been able to get to it for some time (I think it only had 50 posts or so)

Edit: Yes I think thats me because I remember a post date question..I guess that means this i smy third account.. Sorry can you merge them?

@billo

Well I don't think it would be efficient to have an FTP username and password in the application, thinking of the havoc someone could do to the server if he got hold of it.

Edited by CheeseBiscuit

Share this post


Link to post
Share on other sites

CheeseBiscuit,

ChocolateBananas is no more. :)

Can you give me a hint as to the display name of this third account - "I think it only had 50 posts or so" is not a lot of help! :D

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

CheeseBiscuit,

ChocolateBananas is no more. :)

Can you give me a hint as to the display name of this third account - "I think it only had 50 posts or so" is not a lot of help! :D

M23

I checked but couldn't find it, had something to do with snails.. Sorry all I can give you right now, going to check and see if I have it in a .txt somewhere deep in my backup drive :P

@billo

    I'm not very experienced with doing that but I heard its pretty simple. I will try that and get back here to tell you my results. Thanks!

Share this post


Link to post
Share on other sites

You can setup a folder on your server and give it the permissions and limitations you require, most web service providers have a web based app that helps with this(including the CHMOD part).

Then setup your script to only use this folder for transfers.

Good luck!

Bill

Share this post


Link to post
Share on other sites

You can setup a folder on your server and give it the permissions and limitations you require, most web service providers have a web based app that helps with this(including the CHMOD part).

Then setup your script to only use this folder for transfers.

Good luck!

Bill

Thanks bill it works perfectly!

Share this post


Link to post
Share on other sites

Super! Glad to hear it.

BTW what flavor was the snail? since you already used Chocolate and Cheese  :D

Haha, I don't even know now.. It was a really old handle I used for gaming in 2001

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  
Followers 0