Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 7:02 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Upload sricpt to server
PostPosted: February 4th, 2018, 10:36 am 
Offline

Joined: May 16th, 2008, 4:50 pm
Posts: 368
Location: Berghem The Netherlands
Opus: Opus Pro 9.75
OS: Windows 10
System: `HP
I have made an Opus Executable that reads .php files to control functions on that program.
Now I make the text in a text editor, save the text as a .php file and place the .php via a filezilla (FTP program) online.
Is there a way to upload the file directly online without having to use filezilla or other FTP program?

Kind Regards, Ad

_________________
Opus Pro v9.75
Windows 10 on HP EliteBook i7
http://www.csnmedia.nl


For this message Ad Mulders has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Upload sricpt to server
PostPosted: February 5th, 2018, 10:02 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Normally your website host provides access to functionality like this though your cpanel (or other brand) interface.

Also, there is various software that allows mapping an FTP account as a local Window's drive and other communication protocols that can be used for sending files.

I have dabbled with many of the above, but always come back to my FTP application so cannot really recommend one solution over an other.

</mack>

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Upload sricpt to server
PostPosted: February 7th, 2018, 7:46 am 
Offline

Joined: May 16th, 2008, 4:50 pm
Posts: 368
Location: Berghem The Netherlands
Opus: Opus Pro 9.75
OS: Windows 10
System: `HP
That's the problem... i want to send a .php file direct form the program to the server.
When i first have to save the file and then send it to the server by an FTP program it take to much time.
The application i am working on reads a text in the .php file that says "start"or "stop" and that kind of
commands.

I choose this option because of the distance between one another.
Tests with the .php files to control my application work great so far.

Ad

_________________
Opus Pro v9.75
Windows 10 on HP EliteBook i7
http://www.csnmedia.nl


For this message Ad Mulders has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Upload sricpt to server
PostPosted: February 7th, 2018, 9:33 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
You want the code editor to send it straight to the server OR you want your Opus program to send it straight to the server?

</mack>

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Upload sricpt to server
PostPosted: February 7th, 2018, 1:28 pm 
Offline

Joined: May 16th, 2008, 4:50 pm
Posts: 368
Location: Berghem The Netherlands
Opus: Opus Pro 9.75
OS: Windows 10
System: `HP
:| I want to send it direct from my program made with Opus to the server.
I save the text as .php and have to send it to the server.

Ad

_________________
Opus Pro v9.75
Windows 10 on HP EliteBook i7
http://www.csnmedia.nl


For this message Ad Mulders has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Upload sricpt to server
PostPosted: February 7th, 2018, 3:47 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
I can think of several ideas that might work:

1. Use an FTP program that maps the remote folder to a local drive and see if you can save directly to the server.

2. See if you can find an FTP file sync program that automatically uploads files based on local changes.

3. Use a command line FTP program and use Opus' launch file to run and pass parameters.

4. PHP can create files. Rather than upload, you could post your settings to another PHP file and have this generate the new file.

</mack>

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


For this message mackavi has been thanked by : Ad Mulders


Top
 Profile Visit website  
 
 Post subject: Re: Upload sricpt to server
PostPosted: February 8th, 2018, 9:02 pm 
Offline

Joined: May 16th, 2008, 4:50 pm
Posts: 368
Location: Berghem The Netherlands
Opus: Opus Pro 9.75
OS: Windows 10
System: `HP
I am experimenting with .bat files
On Youtube i see several examples but i still have not the right one that works...

Ad

_________________
Opus Pro v9.75
Windows 10 on HP EliteBook i7
http://www.csnmedia.nl


For this message Ad Mulders has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Upload sricpt to server
PostPosted: February 9th, 2018, 10:51 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Had a look at the semi-colon issue - but cannot replicate it.

However, you can try changing the line in the script:
Code:
myFileArray[tmpIndex] = tmpFileObject.ReadLine()


to:
Code:
myFileArray[tmpIndex] = tmpFileObject.ReadLine().split(";").join(" - ");


</mack>

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


For this message mackavi has been thanked by : Ad Mulders


Top
 Profile Visit website  
 
 Post subject: Re: Upload sricpt to server
PostPosted: February 9th, 2018, 3:04 pm 
Offline

Joined: May 16th, 2008, 4:50 pm
Posts: 368
Location: Berghem The Netherlands
Opus: Opus Pro 9.75
OS: Windows 10
System: `HP
It Works great, Thanks Mack

_________________
Opus Pro v9.75
Windows 10 on HP EliteBook i7
http://www.csnmedia.nl


For this message Ad Mulders has been thanked by : mackavi


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 29 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group