File system denied the access when connecting with FTP(21) to IIS site directly with Basic Authentic

Advertisement

enriquesm
Guest

File system denied the access when connecting with FTP(21) to IIS site directly with Basic Authentic

I need to load images listed in each index file (with extesion .idx), after the images are loaded I need to upload the corresponding index file and save it in a back up folder. However after successfully loaded tif images, I unable to upload index file as I get access denied.

On a Windows Server 2012 R2 I have set the ftp site with Built-In Authorization provider/ Basic Authentication, Default Domain:local and granted Read/Write access to the user that makes the connection (ravpd). The user also has Full permissions on all subdirectories under /apps (Application folder). Under camksrdo218 site Advance Settings, I have set Allow Reading Files While Uploading to True under File Handling.

I've attached Jpeg2FTPS powershell script and WinSCP.log for your perusal.

Reviewing file locks on the file with openfiles query, no lock shows up.

Please advise.

Thanks in advance for your attention.
Enrique
  • Allow-Authorization-Rule.PNG (23.32 KB, Private file)
  • WinSCP-A.log (58.42 KB, Private file)
Description: WinSCP session log of instance A
  • Jpeg2FTPS.txt (20.93 KB, Private file)
Description: Powershell script to upload index file and tif files at source folder listed in each index file.

Reply with quote

Advertisement

enriquesm
Joined:
Posts:
1

I found the error in my script. I was create a new instance of transferOptions and the foreach end key was mixed with the end key of and if.

I was able to overcome the Access denied error, therefore this thread can be closed.

Thanks for your attention.

Reply with quote

Advertisement

You can post new topics in this forum