Page 1 of 1

copy file from webserver

PostPosted: Tue Dec 27, 2016 1:36 am
by fieldhopper
Hi !

how can i copy a file, the placement of storage location is known, from a web-server to my local server ?
Is it possible with neobook commands ?
regards bernd

Re: copy file from webserver

PostPosted: Tue Dec 27, 2016 6:25 am
by Gaev
fieldhopper:

1) how about FTP using NeoBook's NeoBookFMFTP plugin ?

2) If the file(s) are pure text (txt, dat, html, css, json, xml etc.), you could use InternetGet/InternetPost commands too.

Re: copy file from webserver

PostPosted: Tue Dec 27, 2016 7:50 am
by virger
Works to me.

Code: Select all
DownloadFile "https://notepad-plus-plus.org/repository/7.x/7.2.2/npp.7.2.2.Installer.exe" "Installer.exe" ""

Re: copy file from webserver

PostPosted: Tue Dec 27, 2016 9:20 am
by fieldhopper
Is downloadfile a neobookcommand and where can i find this command.

Re: copy file from webserver

PostPosted: Tue Dec 27, 2016 9:27 am
by HPW
In each action-insert-wizard and in the doku.

Re: copy file from webserver

PostPosted: Tue Dec 27, 2016 9:39 am
by fieldhopper
Thx, i will try.

Re: copy file from webserver

PostPosted: Tue Jan 03, 2017 6:31 am
by fieldhopper
Hi,
i have tried the downloadfile-command. Result is 404 file not found.
i filled the httpuserid and password.

Code: Select all
DownloadFile "http://www.schulportal.bremerhaven.de/lizenz.txt" "C:\Users\bhaase\Desktop\test.txt" ""


The file exist, cause i have seen in the browser :).Why the file is not found ? :(

Re: copy file from webserver

PostPosted: Tue Jan 03, 2017 7:24 am
by virger
This File "lizenz.txt" NOT EXISTS
http://www.schulportal.bremerhaven.de/lizenz.txt
Itried and result "FILE NOT FOUND"
lizenz.txt
LIZENZ.TXT
Lizenz.Txt .....?????

Re: copy file from webserver

PostPosted: Tue Jan 03, 2017 9:47 am
by fieldhopper
No the name of file is right.

Re: copy file from webserver

PostPosted: Tue Jan 03, 2017 3:26 pm
by dpayer
fieldhopper wrote:No the name of file is right.


You can't argue the fact that this URL does not reach the file you want:

http://www.schulportal.bremerhaven.de/lizenz.txt

Make sure the capitalization of the file name is right.

Please find the right URL. I am sure the download file command will work if you have the right URL.

Re: copy file from webserver

PostPosted: Tue Jan 03, 2017 8:12 pm
by virger
i am sure the file's name is either wrong or file has been erased, wanna bet?