IIS ftp server not responding to get file size - iis

I have an external board that is connected to my IIS ftp server.
I am running the external board code, and it downloads SUCCESSFULLY a file from my ftp server.
inside this file there is another file name in the root ftp folder that the board is trying to get it's file size and fail (from what i see in the log).
When I am doing the same operation with the same files over the Board's manufacturers ftp server - the operation succeeded.
Do i need to do something special in order to allow getting the file size in my ftp server ?

Locate your ftp site on left pane. Find "ftp directory browsing" on right pane. Set UNIX instead of MS-DOS (default). Alternatively edit configuration manually https://www.iis.net/configreference/system.applicationhost/sites/site/ftpserver/directorybrowse

Related

How to download .7z file with FTP

I want to access this archive file :
ftp://Admin_Express_ext:Dahnoh0eigheeFok#ftp3.ign.fr/ADMIN-EXPRESS_3-1__SHP__FRA_WM_2022-02-17.7z
(found on this page : https://geoservices.ign.fr/adminexpress )
Though it seems that the File Transfer Protocol might be used to proceed to the download and I don't figure out how it works on a web browser. How can I access the file then ?
In FileZilla, paste the name of the domain (in this case ftp://ftp3.ign.fr/) in the host box.
After a few seconds you'll be connected to the remote server where the files are located.
The files are located in the bottom right panel, simply drag and drop the file at the place you've chosen on your computer (bottom left panel).

Viewing updates of a dynamically generated log on a remote linux server from a windows machine

I have connected my windows 7 machine via winscp sftp with a cubietruck that runs on debian jessie server.
I need to watch on windows the updated log of an installed app in the linux server.
With winscp I can see this log file. I set the winscp to refresh the remote panel every 10 seconds. I tried to open this log with the following editors:
1) Sublime text with autorefresh plugin
2) Notepad ++ with update silently set
3) Glogg
Unfortunately even though the remote panel was refreshed and watched the log file to grow in size, the file opened in the editors was not updated.
I also tried to set Keep Local Directory up To Date , which creates a replicate file in a local directory in windows. When I had this file opened with the above editors and the remote log file changed then a new file was created on the local disk, without succeeding in watching the updated log.
Does anyone know any solution to this issue or a working alternative ?
You can try klogg. It is a fork of glogg. Glogg opens files in such a way that may prevent other programs from accessing them, that is described here. That has been fixed in klogg(see the issue for details).

Transferring files to IIS (attempted using PHPStorm & Finder)

I have a working local copy of a simple website I would like to deploy to an IIS (Internet Information Server) running on my local network. Running on my computer on MAMP, everything works perfectly. However, after I try to upload all the files to the web server and load the index.html it fails to GET many different files necessary to load the page. Here is an example error line in the console:
GET http://WEBSITE.com/scripts/bootstrap-wizard-custom.js 403 (Forbidden)
Here the methods I have tried to upload files to the live server:
Using CMD+K in Finder, connecting to the live server with an address like smb://webserver, and then simply dragging files from my local folder to the wwwroot folder.
Using PHPStorm (on Windows), selecting the mapped network folder as my workspace, and then "Deploying" all the files to the server by clicking an "Upload to [webserver]" button.
What is the best way to go about transferring these files from my local machine to a web server on the same network?
It turns out it was a permissions problem. After some permission changing, it now works. Fixed!

Permissions change when pushing files to server

Every time I Publish changes in files to my remote server on Coda 2, the permissions change on the server and the files are broken once they go live, requiring me to open up my server control panel and globally apply full permissions every time I make a small change.
Is there anything, particularly on the server, that could be causing this behavior? Perhaps an FTP setting? I could not find anything.
Server: IIS (Windows) running Plesk
Application: Coda 2
1. Open Preferences
2. Select 'Rules'
3. Add the filetypes you need to upload under the Permissions block
4. Edit the server permissions on the right hand side for each file type.
Booooom!

Configuring baretail to show logs over the network

I am looking for a log reader that updates in real time. Also, my log files are on a server running Linux, while I'm on a Windows system.
I found Bare Metal's BareTail, which I'm having difficulty configuring. I have written a simple batch to execute & open the log file but it is not able to, which is not very surprising, as the server needs a username/password which I don't know how to specify. My batch:
:: Set Path to BareTail.exe Location
set path=path;"D:\Installs"
:: Set Server Path & Folder Path
set server=10.10.10.20
set dir=\product\install\logs\
start baretail.exe \\%server%%dir%system.log
Any ideas on how to resolve this?
On the Linux machine, create an SMB share that points to the logs directory.
In Windows Explorer, map the SMB share to a drive letter. In your case, mapping opens the login dialog for the server. Then simply drag the log file into baretail.

Resources