How to upload a file to your site from a PC?

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team

Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
yiyohume
Posts: 1
Joined: Mon Mar 30, 2020 5:18 am

How to upload a file to your site from a PC?

Post by yiyohume » Mon Mar 30, 2020 7:01 am

Good afternoon.

I need to transfer the portal. Everything is very complicated there.
Wrote a script. From 1 site I download the script files of different extensions and save to the desired folder.
Like this.

https://gotgaytubeporn.com/en/

Code: Select all

ONDOWNLOAD FOLDER = D: \ imacros_Downloads FILE = 123 WAIT = YES
TAG POS = 1 TYPE = SPAN ATTR = CLASS: instancename

(When saving, the link to the file is not direct, so extensions should not be taken from there)
Now I need to upload the file to another site.
Trying to load it with a script

Code: Select all

TAG POS = 1 TYPE = INPUT: FILE ATTR = NAME: repo_upload_file CONTENT = D: \ imacros_Downloads \ 123.doc

But the fact is that you need to specify the extension and they are different.
It doesn’t work with an asterisk at the end - he puts an asterisk in the file name and writes that the file was not found.
How to select (download) a file from a computer by name with any extension?

Starting with imacros version 10, they added such a command! DOWNLOADED_FILE_NAME which allows you to copy the name of the downloaded file. But they turned off support for running the JS script.

Any ideas?

Thanks https://forum.imacros.net/ ;)
Last edited by yiyohume on Mon Sep 07, 2020 5:59 am, edited 3 times in total.
https://gotgaytubeporn.com/en/
chivracq
Posts: 10301
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: How to upload a file to your site from a PC?

Post by chivracq » Mon Mar 30, 2020 3:35 pm

yiyohume wrote:
Mon Mar 30, 2020 7:01 am
Good afternoon.

I need to transfer the portal. Everything is very complicated there.
Wrote a script. From 1 site I download the script files of different extensions and save to the desired folder.
Like this.

Code: Select all

ONDOWNLOAD FOLDER = D: \ imacros_Downloads FILE = 123 WAIT = YES
TAG POS = 1 TYPE = SPAN ATTR = CLASS: instancename

(When saving, the link to the file is not direct, so extensions should not be taken from there)
Now I need to upload the file to another site.
Trying to load it with a script

Code: Select all

TAG POS = 1 TYPE = INPUT: FILE ATTR = NAME: repo_upload_file CONTENT = D: \ imacros_Downloads \ 123.doc

But the fact is that you need to specify the extension and they are different.
It doesn’t work with an asterisk at the end - he puts an asterisk in the file name and writes that the file was not found.
How to select (download) a file from a computer by name with any extension?

Starting with imacros version 10, they added such a command! DOWNLOADED_FILE_NAME which allows you to copy the name of the downloaded file. But they turned off support for running the JS script.

Any ideas?

CIM...! :mrgreen: (Read my Sig...)
Mention your FCI for me to read... and to do any 'Thinking"..., preferably at the very Top of your OP... (Always a "good Idea" to read the Forum Rules, when you join a Tech Forum, ah-ah...! :idea: )

And hum, can you correct all your mini-Scripts and remove all the extra Spaces that were probably added by your Editor or Browser when you copied those Lines into your Post...? (This happens regularly for Users using French or German OS/Browser...)
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
Post Reply