Source language: Translate to:

copy file from webserver

General questions about NeoBook

Moderator: Neosoft Support

copy file from webserver

Postby fieldhopper » Tue Dec 27, 2016 1:36 am

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
Regards fieldhopper

____________________________________________________
Es sind schon viele erfroren, aber noch keiner ist ermieft.
____________________________________________________
User avatar
fieldhopper
 
Posts: 121
Joined: Sun Mar 09, 2008 11:39 am
Location: Germany

Re: copy file from webserver

Postby Gaev » Tue Dec 27, 2016 6:25 am

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.
User avatar
Gaev
 
Posts: 3728
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada

Re: copy file from webserver

Postby virger » Tue Dec 27, 2016 7:50 am

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" ""
COSTA RICA
PURA VIDA
User avatar
virger
 
Posts: 518
Joined: Mon Sep 18, 2006 12:21 pm
Location: Costa Rica, America Central

Re: copy file from webserver

Postby fieldhopper » Tue Dec 27, 2016 9:20 am

Is downloadfile a neobookcommand and where can i find this command.
Regards fieldhopper

____________________________________________________
Es sind schon viele erfroren, aber noch keiner ist ermieft.
____________________________________________________
User avatar
fieldhopper
 
Posts: 121
Joined: Sun Mar 09, 2008 11:39 am
Location: Germany

Re: copy file from webserver

Postby HPW » Tue Dec 27, 2016 9:27 am

In each action-insert-wizard and in the doku.
Hans-Peter
User avatar
HPW
 
Posts: 2516
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: copy file from webserver

Postby fieldhopper » Tue Dec 27, 2016 9:39 am

Thx, i will try.
Regards fieldhopper

____________________________________________________
Es sind schon viele erfroren, aber noch keiner ist ermieft.
____________________________________________________
User avatar
fieldhopper
 
Posts: 121
Joined: Sun Mar 09, 2008 11:39 am
Location: Germany

Re: copy file from webserver

Postby fieldhopper » Tue Jan 03, 2017 6:31 am

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 ? :(
Regards fieldhopper

____________________________________________________
Es sind schon viele erfroren, aber noch keiner ist ermieft.
____________________________________________________
User avatar
fieldhopper
 
Posts: 121
Joined: Sun Mar 09, 2008 11:39 am
Location: Germany

Re: copy file from webserver

Postby virger » Tue Jan 03, 2017 7:24 am

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 .....?????
COSTA RICA
PURA VIDA
User avatar
virger
 
Posts: 518
Joined: Mon Sep 18, 2006 12:21 pm
Location: Costa Rica, America Central

Re: copy file from webserver

Postby fieldhopper » Tue Jan 03, 2017 9:47 am

No the name of file is right.
Regards fieldhopper

____________________________________________________
Es sind schon viele erfroren, aber noch keiner ist ermieft.
____________________________________________________
User avatar
fieldhopper
 
Posts: 121
Joined: Sun Mar 09, 2008 11:39 am
Location: Germany

Re: copy file from webserver

Postby dpayer » Tue Jan 03, 2017 3:26 pm

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.
David Payer
Des Moines, Iowa
USA
User avatar
dpayer
 
Posts: 1382
Joined: Mon Apr 11, 2005 5:55 am
Location: Iowa - USA

Re: copy file from webserver

Postby virger » Tue Jan 03, 2017 8:12 pm

i am sure the file's name is either wrong or file has been erased, wanna bet?
COSTA RICA
PURA VIDA
User avatar
virger
 
Posts: 518
Joined: Mon Sep 18, 2006 12:21 pm
Location: Costa Rica, America Central


Return to General NeoBook Discussions

Who is online

Users browsing this forum: No registered users and 1 guest