MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FTP to a shared drive with spaces in folder Name?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
Suchay
Beginner


Joined: 29 Jun 2017
Posts: 43
Topics: 9

PostPosted: Mon Jul 17, 2017 4:21 pm    Post subject: FTP to a shared drive with spaces in folder Name? Reply with quote

Hi

While trying to FTP a mainframe data set to a drive where folder has two names with space in between i.e. space between three four and five six,
Code:

CD /first/second/three four/five six
PUT 'MAINFRAME DATASET' FTPFILE.TXT         
QUIT                                         
/*


FTP job failed with below error
Code:

550folder path The system cannot find the path
EZA1735I Std Return Code = 07550, Error Code = 00002                           
EZA1701I >>> QUIT                                                                                                         


Please advise
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12358
Topics: 75
Location: San Jose

PostPosted: Mon Jul 17, 2017 5:44 pm    Post subject: Reply with quote

Suchay,

Enclose the directory name with spaces in quotes

ie. change
Code:

CD /first/second/three four/five six

to

CD "/first/second/three four/five six"

or

CD /first/second/"three four"/"five six"

_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Suchay
Beginner


Joined: 29 Jun 2017
Posts: 43
Topics: 9

PostPosted: Tue Jul 18, 2017 10:23 am    Post subject: Reply with quote

Thanks Kolusu, issue was we didn't have access to folder.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group