Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-26-2018, 08:31 AM
mwdenko's Avatar
mwdenko mwdenko is offline
Registered User
 
Join Date: Sep 2014
Location: Ohio
Posts: 32
Azure Storage Accounts/ SecureFX log files / pickup files issue

When running a pickup or delivery of files in Azure it seems that SecureFX has issues creating files on storage account mounted drives.


I've tried running the command line wrapper program from that location. It doesn't work.


I've run it on the virtual machine and it won't write to that location.

If I run it on c: and write the log to c: it works fine on the VM.

I wrote a quick C# program to copy a file from c: to the mounted drive "S" and have no issues creating the file with the user that is logged in.
Thanks in advance for any help.
Reply With Quote
  #2  
Old 06-26-2018, 08:52 AM
bgagnon bgagnon is online now
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 3,571
Hi mwdenko,

I'm confused.

By "wrapper program" do you mean the command-line application SFXCL?

What protocol are you using?

Where is the "sftp/ftp/ftps" server in this scenario?

Does *it* have the appropriate permissions to write to "mounted drive S"?

What version of SecureFX/SFXCL? What OS is it installed on?

Please post a log or send to support@vandyke.com and reference "Attn Brenda - Forum Thread #13156" in the subject line.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #3  
Old 06-26-2018, 09:18 AM
mwdenko's Avatar
mwdenko mwdenko is offline
Registered User
 
Join Date: Sep 2014
Location: Ohio
Posts: 32
Sorry for the confusion...


By "wrapper program" do you mean the command-line application SFXCL?
--C# program that calls the SFXCL. Items are held in a config file.

What protocol are you using?

--SFTP

Where is the "sftp/ftp/ftps" server in this scenario?

--On the web "Client"

Does *it* have the appropriate permissions to write to "mounted drive S"?

--Yes, I can manually or run the program and created/delete files
What version of SecureFX/SFXCL? What OS is it installed on?


--Windows Server 2016, Version 8.3.3 (x64 build 1646) - Official Release - May 3, 2018
Reply With Quote
  #4  
Old 06-26-2018, 09:32 AM
bgagnon bgagnon is online now
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 3,571
Hi mwdenko,

Please clarify this:
Quote:
--Yes, I can manually or run the program and created/delete files
Let's take your wrapper program out of the equation. Are you saying if you execute the SFXCL command-line manually it works?

I will await logs. If there is a success scenario, please post or send both a success and fail log.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #5  
Old 06-26-2018, 10:00 AM
mwdenko's Avatar
mwdenko mwdenko is offline
Registered User
 
Join Date: Sep 2014
Location: Ohio
Posts: 32
the program in question that works is a custom c# to test that the account had rights to create/move/delete files. That program is successful.



I can't provide any logs unfortunately since they won't create.
Reply With Quote
  #6  
Old 06-26-2018, 10:08 AM
bgagnon bgagnon is online now
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 3,571
Hi mwdenko,

You said the C# program was performing a *copy*, not an SFTP file upload. It's not the same.

I don't understand why you are not getting a log of some sort.
Quote:
If I run it on c: and write the log to c: it works fine on the VM.
Can't you use an SFXCL command-line that logs to C:, but the destination is the mounted drive "S"?
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #7  
Old 06-26-2018, 10:22 AM
mwdenko's Avatar
mwdenko mwdenko is offline
Registered User
 
Join Date: Sep 2014
Location: Ohio
Posts: 32
OK. Sometimes the answer is staring you right in the face.

It looks as if spaces in the path are a no no.

Directory of the logs was s:\SecureFX\SFTP Logs\Client\Process\

It is now s:\SecureFX\SFTPlogs\Client\Process\.

It now works just fine.

Thank you for all of your help.
Reply With Quote
  #8  
Old 06-26-2018, 10:45 AM
bgagnon bgagnon is online now
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 3,571
Hi mwdenko,

Yes, that's an OS limitation, not SecureFX/SFXCL. On Windows, any path with spaces must be enclosed in quotes.

I am glad you found a solution.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 10:08 AM.