Questions tagged [file-structure]

257 questions
0
votes
2 answers

PHP LFTP data mirror output

I'm using a Linux local computer and need to backup/mirror some very large file structures regularly. I only have access to SFTP. I was after a simple one click solution. I originally tried to write the little script in BASH but I've never used it…
hozza
  • 619
  • 2
  • 12
  • 27
0
votes
2 answers

best approach for file structure?

What is better / faster? We need a short and fast file structure for a javascript / ajax web app rs -> c (for css files) rs -> j (for js files) rs -> i (for images) or: -> stylesheets -> scripts -> images or: -> css -> js -> img does it make any…
user753676
-1
votes
1 answer

Two MWE's that show how not to import things in Python, when you want to run a file in a subdir as main for testing purposes

Okay, pictured are the two MWE's and their failure messages. In words, I can't naturally import, from the same subdirectory, into a module that I want to run as main for testing purposes. That's the first screenshot. The next screenshot shows that…
-1
votes
1 answer

Client side rendering file structures

If I were to build a client side render site that has a user page and a admin page using React, does it make sense to have two separate HTMLs with separate bundle.js or I should just have one HTML with one bundle.js and have my script render the two…
yume
  • 11
  • 2
-1
votes
1 answer

what files of bootstrap should be in index file

I want to use bootstrap in my project,when I try to use CDN it works perfectly but using them locally is not working for me. I'v 'test' the main directory of project and in 'test' I'v downloaded bootstrap files.Meaning that in my test folder there…
mehmood khan
  • 497
  • 1
  • 7
  • 20
-1
votes
2 answers

How to get the file pointer to the next line in c++?

Given below is a part of my whole program: void filewrite(fstream &f2) { f2.seekp(0,ios::beg); f2.write(customerno,strlen(customerno)); f2.seekp(24,ios::beg); …
-1
votes
1 answer

When running npm start how do I access other html pages in a different folder from index?

I currently have an index.html which doesn't have much in it and want to access the app.html which is in a subfolder from index.html as shown here. My other html file is in app. In addition how do I reference that page in say a button on my index…
MattCom
  • 241
  • 6
  • 19
-1
votes
1 answer

Bash Mac Terminal to Organize Filestructure

I have 12,000+ files that need to be organized. All the folders are included, however the files are in a flattened filestructure right now. My folders and files are all named with the path that they should be in. For example, in one directory I have…
-1
votes
1 answer

Publish MVC solutuion to Webbhotel. 403 - Forbidden: Access is denied

I have deployed my first MVC application to a webbhotel and after publish in visual studio I'll get redirected to my site gived me the 403 error. WebConfig: